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

What type of matrix should score_genes be applied to? #73

Open
liuzj039 opened this issue Jul 22, 2021 · 0 comments
Open

What type of matrix should score_genes be applied to? #73

liuzj039 opened this issue Jul 22, 2021 · 0 comments

Comments

@liuzj039
Copy link

Thank developer for the detailed tutorial.

The best place for this would be the forum, but my post there seem to be automatically hidden or deleted by the system. So try asking the question here.

Should we apply score_genes or score_genes_cell_cycle to the normalized matrix or to the scaled matrix?
From the documentation, it is shown that it selects genes with similar expression as controls and calculates the difference between the two sets.
In this way it seems that it should be applied to the normalized matrix.
But from the tutorial, this function is applied to the scaled matrix. It also seems from the source code that the average expression stored in the adata.var was not used to select the control genes.

In the corresponding function of Seurat, AddModuleScore, this function is applied to the normalized matrix.

I would like to know what type of matrix we should apply score_genes to in the ideal case.
Although they are not very different in the example data (nestorawa_forcellcycle_expressionMatrix.txt).
image
image
image
image
image

I would love to hear your suggestions on this.
Thanks very much.

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