cyto_trans_check: Check Transformation List Object

Description Usage Arguments Value Author(s) Examples

View source: R/validation-functions.R

Description

Check Transformation List Object

Usage

1
cyto_trans_check(trans = NULL, inverse = FALSE)

Arguments

trans

object of class transformList or transformerList generated by estimateLogicle which was used to transform the fluorescent channels of the samples.

inverse

logical indicating whether the returned transformList should contain the inverse transformations.

Value

NULL or object of class transformList

Author(s)

Dillon Hammill, Dillon.Hammill@anu.edu.au

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
library(CytoRSuiteData)

# Load in samples to flowSet
fs <- Activation

# Add fs to GatingSet
gs <- GatingSet(fs)

# Get transformList using estimateLogicle
trans <- estimateLogicle(fs[[4]], cyto_fluor_channels(fs))

# Get transformList containing inverse transformarions
inv <- cyto_trans_check(trans, inverse = TRUE)

# Convert transformerList into transformList
trans <- estimateLogicle(gs[[4]], cyto_fluor_channels(gs))

# Convert transformerList into inverse transformList
inv <- cyto_trans_check(trans, inverse = FALSE)

DillonHammill/cytoSuite documentation built on March 7, 2019, 10:09 a.m.