-
Notifications
You must be signed in to change notification settings - Fork 23
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
Seurat object as reference #17
Comments
i have a similar question also-
this does not work... I get the following output. Do yall have an example with working with Seurat Obj?
Many thanks!!! |
You need to get the counts query = symphony::mapQuery(
seuratobj[['RNA']]@counts,
seuratobj@meta.data,
ref,
vars = 'samples', # use column names from your meta_data
do_normalize = TRUE) |
Thank you! I attempted the above code and it worked! Will update if anything else needs attention. Wei |
Hey, thank you very much for your solution! |
@NK-HD I've had success following this vignette when creating references for docs.dseqr.com. Happy to add another reference there if it's something public and of general use |
@alexvpickering and everybody else :) I have a specific problem now since I would like to use an existing seurat object and the according clusters (RunHarmony() already done) as a reference to analyse new data by using the same clustering. So I can´t re-run RunHarmony.Seurat without redoing the whole clustering and downstream analysis (right?). As I understand it the issue is here in the buildReferenceFromSeurat() function: res$R <- t(obj@reductions$harmony@misc$R) Error: This data is apparently not in the object when this is processed with the default RunHarmony() function, as I understand it, correct? Would it be possible to extract that info by any other way from a seurat object processed by the default RunHarmony() function? Thank you very much for your help!!!! |
Hi @NK-HD , Thanks so much for your message! Unfortunately, it is not currently possible to make an existing Harmony object into a mappable Symphony object without rerunning the integration step with the |
Hi @joycekang, Is there any update on the comment above re: making an existing Harmony object into a Symphony object without rerunning RunHarmony.Seurat? This would be very useful for my pipeline! Many thanks for such a great tool :) Best, |
Dear Symphony Team,
thank you for developing this very interesting package!
could you maybe assist me on how to use an existing (harmony based integrated) Seurat object as a reference to map new datasets (ideally Seurat datasets) on?
Thank you very much in advance fr your help!
Best,
Niklas
The text was updated successfully, but these errors were encountered: