lnTrans {cyanoFilter} | R Documentation |
log transforms the expression matrix of a flowframe
lnTrans(x, notToTransform = c("SSC.W", "TIME"))
x |
flowframe to be transformed |
notToTransform |
columns not to be transformed |
flowframe with log transformed expression matrix
flowfile_path <- system.file("extdata", "B4_18_1.fcs", package = "cyanoFilter", mustWork = TRUE) flowfile <- flowCore::read.FCS(flowfile_path, alter.names = TRUE, transformation = FALSE, emptyValue = FALSE, dataset = 1) flowfile_nona <- cyanoFilter::noNA(x = flowfile) flowfile_noneg <- cyanoFilter::noNeg(x = flowfile_nona) lnTrans(x = flowfile_noneg, c('SSC.W', 'TIME'))