Learn R Programming

cyanoFilter (version 0.1.3)

lnTrans: log transforms the expression matrix of a flowframe

Description

log transforms the expression matrix of a flowframe

Usage

lnTrans(x, notToTransform = c("SSC.W", "TIME"))

Arguments

x

flowframe to be transformed

notToTransform

columns not to be transformed

Value

flowframe with log transformed expression matrix

Examples

Run this code
# NOT RUN {
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) #FCS file contains only one data object
flowfile_nona <- cyanoFilter::nona(x = flowfile)
flowfile_noneg <- cyanoFilter::noneg(x = flowfile_nona)
lnTrans(x = flowfile_noneg, c('SSC.W', 'TIME'))


# }

Run the code above in your browser using DataLab