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

re variable genes used does not match #31

Open
haircell opened this issue May 24, 2021 · 0 comments
Open

re variable genes used does not match #31

haircell opened this issue May 24, 2021 · 0 comments

Comments

@haircell
Copy link

Hi,

I'm having some trouble with the variable genes selection for the RunSWNE Seurat wrapper function. I have my integrated data Seurat object and I follow the steps outlined here: https://yanwu2014.github.io/swne/Examples/multiple_pancreas_alignment_swne.html

However, when running the RunSWNE() command to create the swne.embeddings, instead of [1] "2000 variable genes to use", I see [1] "15760 variable genes to use" in the Console. This is the total number of genes in the dataset, not just the variable genes. Even when I specifically set genes.use <- VariableFeatures(obj), I get the same read in the Console (i.e. all genes are being used). I noticed that the pancreas_integrated_seurat.Robj object in the vignette is already subseted to only the 2000 most variable genes. I'm wondering if the Console is printing the total number of genes in the dataset or if it's actually using all genes and not just the variable ones?

Thanks!

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