View source: R/morphology_corr_lm.R
morphology_corr.lm | R Documentation |
Corrects morphology based on scatter or uptake control.
morphology_corr.lm( fcb, uptake, channel, predictors = NULL, subsample = 10000, slope = 1, updateProgress = NULL, ret.model = FALSE )
fcb |
the barcoded dataframe, post compensation and preprocessing |
uptake |
Optional: a dataframe consisting of all cells barcoded with a single level of the barcoding dye |
channel |
The name (string) of the channel to be corrected, ie. the column name in 'fcb_df' |
predictors |
A single predictor |
subsample |
Integer, number of cells to sample (with replacement) for the morphology correction, defaults to 10,000. |
updateProgress |
used in reactive context (shiny) to return progress information to GUI#' |
a tibble/data.frame with the selected channel corrected for fsc and ssc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.