morphology_corr.knijnenburg: Corrects morphology based on scatter or uptake control.

View source: R/morphology_corr_knignenburg.R

morphology_corr.knijnenburgR Documentation

Corrects morphology based on scatter or uptake control.

Description

Corrects morphology based on scatter or uptake control.

Usage

morphology_corr.knijnenburg(
  fcb,
  uptake,
  channel,
  fsc_ssc = c(fsc = "FSC-A", ssc = "SSC-A"),
  subsample = 10000,
  updateProgress = NULL,
  ret.model = FALSE
)

Arguments

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'

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#'

Value

a tibble/data.frame with the selected channel corrected for fsc and ssc

See Also

selectDenseScatterArea doRegressConstrained


bjreisman/DebarcodeR documentation built on Oct. 22, 2022, 1:50 a.m.