Open dpearton opened 11 months ago
Hello! STACAS is made to work on a list of objects, where each object contains one sample. It should be sufficient to split out your object by sample (maybe after merging the layers, if your samples are organized in layers). For example:
pbmcsca.integrated <- NormalizeData(pbmcsca) |>
SplitObject(split.by = "Method")|>
Run.STACAS()
I understand that Seurat have changed their integration methods to use single objects in a layer structure, but you will need a list of objects in STACAS - at least for now.
Hi,
Thank you for the very prompt reply.
The issue appears to be that I was trying to run STACAS based on combined samples (i.e. trying to integrate two different sequencing runs each comprised of multiple samples) rather than individual samples.
If I split by sample (orig.ident) it works.
I am getting an error when I FindAnchors.STACAS (for each sample).
Warning: Different features in new layer data than already exists for scale.data
Will this be an issue? - the integration does proceed after these warnings.
Thanks again for your time.
Yours, David
From: Massimo Andreatta @.> Sent: 08 December 2023 10:33 To: carmonalab/STACAS @.> Cc: David Pearton @.>; Author @.> Subject: Re: [carmonalab/STACAS] working with Seurat v5 layers? (Issue #30)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Hello! STACAS is made to work on a list of objects, where each object contains one sample. It should be sufficient to split out your object by sample (maybe after merging the layers, if your samples are organized in layers). For example:
pbmcsca.integrated <- NormalizeData(pbmcsca) |> SplitObject(split.by = "Method")|> Run.STACAS()
I understand that Seurat have changed their integration methods to use single objects in a layer structure, but you will need a list of objects in STACAS - at least for now.
— Reply to this email directly, view it on GitHubhttps://github.com/carmonalab/STACAS/issues/30#issuecomment-1846932627, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCYA63N2JBMKOHYSZVCK5EDYILUI7AVCNFSM6AAAAABAMNGQBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBWHEZTENRSG4. You are receiving this because you authored the thread.Message ID: @.***>
Good that you got it to work.
As for the warning you posted, it's probably safe to ignore it. My guess is that there is already a scale.data
layer in the object, and it's being overwritten by using a different set of features (i.e. the highly variable genes calculated by STACAS).
Hello,
I am working with Seurat v5 with my samples in different layers to test the different integration methods. Unfortunately the version of STACAS I am working with does not work with V5 layers. I get the following error when I try run FindAnchors.STACAS
`