PhenoMaskGMM: Apply PhenoGMM made model to new data.

Description Usage Arguments Examples

View source: R/PhenoMaskGMM.R

Description

Apply PhenoGMM made model to new data.

Usage

1
PhenoMaskGMM(fcs_x, gmm, fcs_scale = FALSE)

Arguments

fcs_x

flowSet object on which to apply the GMM mask

gmm

model mask used to assign cluster allocations

fcs_scale

Should data be scaled/normalized by row and column before running GMM? Defaults to FALSE. Be aware that if input modelled used rescaled data as input/option this should be set to TRUE for predicting on new data.

Examples

1
2
3
data(flowData_transformed)
testGMM <- PhenoGMM(flowData_transformed, downsample = 1e3, nG = 128, param = c("FL1-H", "FL3-H"))
testPred <- PhenoMaskGMM(flowData_transformed, gmm = testGMM)

rprops/Phenoflow_package documentation built on Sept. 22, 2020, 5:43 p.m.