Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cellularity #11

Open
jiw181 opened this issue Aug 28, 2022 · 0 comments
Open

cellularity #11

jiw181 opened this issue Aug 28, 2022 · 0 comments

Comments

@jiw181
Copy link

jiw181 commented Aug 28, 2022

Dear developers, I ran into 2 questions for v1.0.8. Any suggestion will be highly appreciated. Many thanks!

Q1. An error message:
Error in prop.test(v$mut.count[i], v$mut.count[i] + v$WT.count[i], e[i], : not enough data

The reason might be line 595 does not return a value for cellularity:
prop.test needs expected.burden.for.MCN.
expected.burden.for.MCN needs cellularity.
In the processing.R file, line 667: cellularity = GetCellularity(cellularity_file).
The return line for GetCellularity on line 595: return(d['FRAC_GENOME','rho'])
This line does not seem to return a single value for cellularity.
The processing.R file is found here (https://github.com/Wedge-lab/dpclust3p/blob/master/R/preprocessing.R)

Q2 (might not be an issue if processing.R work properly)
Ran processing.R by manually set cellularity value on the T2-128X demo data (https://www.nature.com/articles/s41592-020-01013-2). Got 52 mutations as "NA". Is it expected to be "NA", if the mutation position is not covered by the CNV file; or is it expected to be calculated by assuming copy number is total 2, major 2, minor 0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant