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

Select highly variable loci for ATAC-seq #11

Open
PeterZZQ opened this issue Aug 30, 2020 · 1 comment
Open

Select highly variable loci for ATAC-seq #11

PeterZZQ opened this issue Aug 30, 2020 · 1 comment

Comments

@PeterZZQ
Copy link

PeterZZQ commented Aug 30, 2020

object <- selectFeatures(object, assay = "RNA")
loci.use <- searchGeneRegions(genes = [email protected][[1]], species = "mouse")
[email protected][[2]] <- loci.use
object <- run_scAI(object, K, do.fast = TRUE, hvg.use1 = TRUE, hvg.use2 = TRUE)

I cannot run through that code for kidney example, Error shows that

Error in [email protected][[2]][[email protected][[2]], ] : invalid or not-yet-implemented 'Matrix' subsetting

loci seems to be a data frame with 4 columns and the selection requires one region annotation. I think you may miss some function like search_nearby_loci in MATLAB version.

@sqjin
Copy link
Owner

sqjin commented Sep 1, 2020

@PeterZZQ Please check the function findNearbyLoci.

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

2 participants