SydneyBioX / scMerge

Statistical approach for removing unwanted variation from multiple single-cell datasets
https://sydneybiox.github.io/scMerge/
66 stars 13 forks source link

how to prepare the input data form a Seurat object #36

Closed xinmiaoyan closed 1 year ago

xinmiaoyan commented 2 years ago

this is a great tool, and I'd like try it to so some fancy analysis, but I'm not familiar with the input data, so how do I prepare it from a Seurat object, appreciate your response.

Billsfriend commented 1 year ago

@xinmiaoyan I am not sure if this is the right way, but it worked without error for me. First ensure your Seurat object has gone through NormalizeData(), then use as.SingleCellExperiment() will convert it to a acceptable input for scMerge().