phipsonlab / speckle

R package for analysing single cell data
GNU General Public License v3.0
48 stars 6 forks source link

Is it possible to run a paired test? #6

Closed jeremymsimon closed 1 year ago

jeremymsimon commented 1 year ago

Hey @bphipson! I have an interesting case where I have some patient data where specimens were collected pre- and post- treatment. Is it possible to run a paired test in the speckle framework for looking at compositional changes in a context like this? If so, how would I set that up?

Thanks!

jonhsussman commented 1 year ago

I too am interested in running a paired test on pre-/post treatment specimens that are paired together. That would be a highly valuable application of this approach. Thanks as well!

bphipson commented 1 year ago

Hi,

Yes, propeller is extremely flexible and can accommodate a paired design. Please read the vignette and you will find there is a section in there about paired designs under using the transformed proportions directly:

https://www.bioconductor.org/packages/release/bioc/vignettes/speckle/inst/doc/speckle.html https://www.bioconductor.org/packages/release/bioc/vignettes/speckle/inst/doc/speckle.html#fitting-linear-models-using-the-transformed-proportions-directly

Cheers, Belinda

jeremymsimon commented 1 year ago

Ack! So sorry to have missed this. Thanks Belinda!