-
Notifications
You must be signed in to change notification settings - Fork 27
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
Per gene copy number signal. #128
Comments
Hi, this is currently not possible. Since infercnvpy aggregates gene expression of several genes in a sliding window the information about individual genes is lost. In principle, it would be possible to store a mapping in which "bins" a certain gene is located - There's a PR open for that #58, but it has gone stale. |
Okay, got it thanks. Could you confirm that the columns of |
That's correct, but note that the bins overlap, i.e. each gene occurs in multiple bins. |
Hi is there a way to pull out group of genes within selected chrm coordinates that have high cnv values? We want to know what are the most probable gene sets that are likely altered |
Hi I am working on PR and adding to #58 that will allow you to extract the per gene copy number by averaging across all the bins a given gene appears in, I will hopefully have something ready in the next 2 weeks! Additionally, in my refactoring I have noticed that the current implementation uses the default Edit: PR is here #132 |
Description of feature
I've noticed that on occasions, after running
cnv.tl.infercnv
the shape ofadata.obsm['X_cnv'].shape
is not equal to the size ofadata.X.shape
.It is possible to please get gene specific copy number values? or otherwise, a mapping for genes to the segments that comprise the columns of X_cnv?
The text was updated successfully, but these errors were encountered: