-
Notifications
You must be signed in to change notification settings - Fork 21
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
Error:infer_grn(), #42
Comments
Hello @joschif Package versions:
Here is my error:
I have tried many possible ways to solve this but I have not succeeded. Would you please help?
I have my RNA and ATAC data as follows:
I see I have 579 cells in RNA, but 557 in ATAC. I troubleshoot and updated this in another comment below. Thank you very much. |
Hello @joschif I am updating this issue. I tried keeping common cells within both assays so now both my RNA and ATAC data have 557 cells. The error I get changed as follows.
Would you please let me know if you have any suggestions? |
Hi @elhaam, unfortunately it's very hard to tell what the exact problem is here. However, it seems to stem not from the Pando code itself but from the |
Thanks @joschif! Yes, this is correct that |
Same issue as @wxpbioinfo. I have tried with a few genes and I still get the error with genes other than ‘RSPO4’, but the same ‘20_’. The only thing different from the tutorial is the use of NCBI peak name style. Any suggestions for not having to do the preprocessing with the USCS style (because of the impossibility to change it in the seurat object). Very nice package by the way!
|
Hi,When I was running this function, I encountered the following error, I checked my motif matrix and gene name, but I did not find a number beginning, I feel very confused, can you give me the answer?
This is my code:
scARC=readRDS("./Data/scARC_celltype.rds")
DefaultAssay(scARC) <- "peaks"
seqlevelsStyle(BSgenome.Mmulatta.UCSC.rheMac10) <- 'Ensembl'
scARC <- initiate_grn(scARC, rna_assay = 'RNA',peak_assay = 'peaks')
pwm_set <- getMatrixSet(x = JASPAR2022, opts = list(species = 9606, all_versions = FALSE))
plan("multisession", workers = 20)
#查找 TF 结合位点
scARC <- find_motifs(scARC,pfm = pwm_set,genome = BSgenome.Mmulatta.UCSC.rheMac10)
#推断 GRN
genes <- scARC@assays[["RNA"]]@var.features
filtered_text <- grep("1_.", x, value=TRUE)
genes <- genes[!grepl("^ID3.", genes)]
scARC <- infer_grn(scARC,genes=genes,peak_to_gene_method = 'Signac',method = 'glm')
plan("sequential")
coef(scARC)
The text was updated successfully, but these errors were encountered: