| divideByReference {scp} | R Documentation |
The function divides the sample columns by a reference column. The sample
and reference columns are defined based on the provided colDataCol
variable and on regular expression matching.
divideByReference(obj, i, colDataCol, samplePattern = ".", refPattern)
obj |
A |
i |
A |
colDataCol |
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,
colDataCol = "SampleType",
samplePattern = "Macrophage",
refPattern = "Ref")