Skip to content

Question About Batch Effect Correction in standR for GeoMx Data Analysis #53

@Rongtingting

Description

@Rongtingting

Hi!
Thank you for developing the package!
I’ve been following the tutorials provided in the standR documentation (Quick Start Guide and GeoMX Analysis Workflow), and I have a question regarding the batch effect correction step.
Based on my understanding of the tutorials, it seems that the spe_tmm object (after normalization) should be used in the batch effect correction step. However, in the examples provided, the tutorials use the spe object directly for this step.
Could you kindly clarify whether we should use spe_tmm or spe for batch effect correction? I want to ensure that I am applying the workflow correctly.
Thank you for your time and assistance! And looking forward to discussing more!

My understanding for batch effect correction step

spe_tmm <- findNCGs(spe_tmm, batch_name = "SlideName", top_n = 500)
spe_ruv <- geomxBatchCorrection(spe_tmm, factors = "biology", NCGs = metadata(spe)$NCGs, k = 5)

Tutorials show:

spe <- findNCGs(spe, batch_name = "SlideName", top_n = 500)
spe_ruv <- geomxBatchCorrection(spe, factors = "biology", NCGs = metadata(spe)$NCGs, k = 5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions