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

Gene names lost after get_marker_genes() #95

Open
friedue opened this issue Jul 8, 2019 · 0 comments
Open

Gene names lost after get_marker_genes() #95

friedue opened this issue Jul 8, 2019 · 0 comments

Comments

@friedue
Copy link

friedue commented Jul 8, 2019

Hi,

I supplied a matrix with dimnames to get_marker_genes, but the returned data.frame is lacking row.names; hence I'm not sure which genes get which values.

 markers <- SC3::get_marker_gene(assay(sce.filt, "norm.expr")), as.numeric(sce.filt$res.03) )

 head(markers)
      auroc clusts        pvalue
1 0.7193039      4 6.267328e-145
2 0.7143930      9 7.686917e-181
3 0.6888292      6  6.128642e-81
4 0.5867729     10  1.064379e-05
5 0.6911236      6  1.466540e-90
6 0.7188981      9 3.326843e-144

This would be with SC3_1.10.1.

Are the genes re-ordered or is it save to assign the rownames(sce.filt) to the returned object?

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