divideByReference | R Documentation |
The function divides the sample columns by a reference column. The sample
and reference columns are defined based on the provided colvar
variable and on regular expression matching.
divideByReference(object, i, colvar, samplePattern = ".", refPattern)
object |
A |
i |
A |
colvar |
A |
samplePattern |
A |
refPattern |
A |
The supplied assay(s) are replaced with the values computed after reference division.
A QFeatures
object
data("scp1")
scp1 <- divideByReference(scp1,
i = 1,
colvar = "SampleType",
samplePattern = "Macrophage",
refPattern = "Ref")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.