Replies: 2 comments 1 reply
-
My sessionInfo()
|
Beta Was this translation helpful? Give feedback.
-
Can you show the output of these lines: combined_merged
dim(combined_merged[['ATAC']][[]])
head(combined_merged[['ATAC']][[]]) It seems like the feature metadata might be missing information for some peaks for some reason, or it has NA values (although this should show up when you run Can you also show the code used to create this object? By the way, here you are using all peaks with >0 counts for a group of cells in your motif enrichment test. More typically, we would do some differential testing to find significantly differentially accessible peaks with some greater stringency (minimum fold change and p-value thresholds). |
Beta Was this translation helpful? Give feedback.
-
It is a long post, sorry in advance! For context, I am doing data analysis from 10x Multiomics kit (scRNA and scATAC seq). I am new to this and this was hand down to me since the original person who did the exp left the lab. I am not savvy with coding nor r/python. I learnt all that while doing this analysis. (in R) I did scRNA integration/scATAC integration and all the fluff with scRNAseq part, at least i think so (up until GO analysis). Then I moved onto scATAC part. it was bit of struggle from the beginning tbh. the annotation was custom in our institution so i had to import gft files for annotation in the beginning and the peak alignment was a bit of process as well but I managed it to get all the process, integration and DAG so far. But when I tried to run Motif anlaysis i am having big issue that I can't fix for last 3 days... below is the code i am trying to run.
And this is basic info of my data.
The error I am getting is below.
And I did debugonce(FindMotifs) to see where is the issue comes from. Fisrt warning from here.
and because I have only 2 features in my background (i assume) this happens.
I think the problem is they don't have enough background features..? so i changed tried to use background.use to "all", default (gc content), and now using mannually putting high number (10000). but all not working..
I also, worried my GC.percent column is named not capitalized so tried to changed to capitalized one and that caused error on they can't find gc.percent so there's that.. I feel like i exhausted all options.. I sought out to get help within the institution but not many had done scATAC and also for those who did, they did not know my error (they never seen before). And now I am trying to feed DAG list for features as my last try.. But I would like to ask some other ideas on why it is like this..I am learning all tons of stuff but this is really frustrates me..(lol I enjoyed all the puzzles and this is fun ride for me but it is frustrating as well..)
Thank you for reading this really long post.. and please throw me any idea..like ANY! I will explore anything if I can fix this!
Beta Was this translation helpful? Give feedback.
All reactions