View source: R/data_processing.R
CleanCODEX | R Documentation |
Removes noise from CODEX data by fitting a Gaussian mixture and computing each expression measurement as the cumulative distribution of the Gaussian with the higher mean.
CleanCODEX(
stvea_object,
model = "gaussian",
num_cores = 1,
maxit = 500,
factr = 1e-09,
optim_inits = NULL,
normalize = FALSE
)
stvea_object |
STvEA.data class with CODEX data after FilterCODEX |
model |
"nb" (Negative Binomial) or "gaussian" model to fit or "arcsinh" for standard arcsinh transform (wrapper of flowCore method) |
num_cores |
number of cores to use for parallelized fits |
maxit |
maximum number of iterations for optim function - only used if model is "nb" |
factr |
accuracy of optim function - only used if model is "nb" |
optim_inits |
a matrix of (proteins x params) with initialization parameters for each protein to input to the optim function. If NULL, starts at two default parameter sets and picks the better one - only used if model is "nb" |
normalize |
divide cleaned CODEX expression by total expression per cell - only used if model is "nb" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.