-
Notifications
You must be signed in to change notification settings - Fork 2
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
scregclust takes too long time #5
Comments
Hi, Also, what kind of computer are you running this on? |
Hi, I run the code with my MacBook Pro (Apple M1 Pro, MacOS 14.6.1) |
Hi, Adding to Felix's answer above, I would strongly recommend that you include a feature selection step before running scregclust, e.g. only including the top XX most variable genes in your gene expression matrix. For sc-data generated from a UMI-based platform, e.g. 10X Genomics, I usually normalize my data using sctransform which by default returns the 3000 most variable genes (but this can be of course be changed to return more or less genes). Usually, including all 20000+ genes is unnecessary since most of them have zero variance and are therefore uninformative (as you can see already in your first run more than 16000 genes were placed in the noise cluster). Hopefully this will speed things up. Let us know how it goes! |
Dear authors,
I used a dataset with 20541 features and 19840 samples to run
scregclust
with the following codes:fit <- scregclust( z, genesymbols, is_regulator, penalization = seq(0.1, 0.5, 0.05), n_modules = 10L, n_cycles = 50L, noise_threshold = 0.05)
It took about 18 hours to complete one cycle of one penalization score. Is there any way to speed up this process?
Many thanks!
The text was updated successfully, but these errors were encountered: