-
Notifications
You must be signed in to change notification settings - Fork 3
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
How to setup with multiple samples per condition #11
Comments
There is no requirement to merge the samples into one Seurat object based on the treatment groups. When utilizing the IntegrateSpaData() function, it is crucial to specify the argument covariates_use and set it to the treatment status. This will ensure proper integration while considering the treatment information for the analysis. |
Hi @feiyoung, I've added the treatment status to each Seurat object's metadata - 4 samples in 1 group, 2 samples in another group. I then followed the tutorial and created the PRECAST object and fitted the data, then integrated all samples. I used "Treatment" with covariates_use but the downstream results appear to be the same as without including covariates. Please advise, thanks! |
You can verify whether seuInt[['PRE_CAST']]@DaTa is the same for both scenarios. |
In our paper, the analyzed datasets were not from the case-control design, i.e., no treatment group and control group, so we do not explore this impact. However, we do advocate for the incorporation of group information during the integration process, achieved by including the 'covariates_use' parameter. Additionally, you can also try two methods, then see the difference. |
We have multiple treatment group and multiple samples per treatment group. I was wondering how we should organise the
seuList
forCreatePRECASTObject
. Do we merge the samples by treatment group and have one Seurat object per treatment group? Will the batch effect of spots from the same sample be taken into account if we merge samples?The text was updated successfully, but these errors were encountered: