Adding seurat metadata to ArchR Project #1464
Unanswered
ebulger3
asked this question in
Questions / Documentation
Replies: 1 comment 1 reply
-
This isnt really an ArchR question. What your question boils down to is how do I transfer information from one data frame to another based on matched values across the two data frames. The key is obviously making sure that the matched values (cellNames in both dataframes) actually match. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Ryan,
I have 10x multome dataset and I am trying to import cluster labels from Seurat into my ArchR project ("archr_proj"). I currently have a dataframe with my cell barcodes and corresponding Seurat clusters, and have been trying to adapt the for-loop from #788. A few lines from my dataframe ("seRNA_df") are below:
This is the code I adapted from #788:
This gives me "NA" for every cell in the "seurat_clust" column of the ArchR project, despite having overlapping barcodes. I suspect the issue is a small nuance of number juggling, but I am having a really hard time figuring out where the problem is. I'd appreciate any suggestions.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions