View source: R/check_batch_effects.R
define_batches | R Documentation |
Groups samples into batches based on scan date. Samples run within a short time interval can be defined to belong to the same batch.
define_batches(se, col.scan.date = "scan.date", diff.ignore = 1)
se |
|
col.scan.date |
Character or Integer. Column in colData() with scan
dates (default: scan.date as generated by the function
|
diff.ignore |
Numeric. Time difference (in days) defined as negligible (default: 1). |
RangedSummarizedExperiment-class
object with batch information in additional column in colData()
data("se.gene")
se.gene = define_batches(se = se.gene,
col.scan.date = "scan.date")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.