addCTLabels: addCTLabels

View source: R/cellGating.R

addCTLabelsR Documentation

addCTLabels

Description

addCTLabels

Usage

addCTLabels(
  cd,
  out,
  outname,
  ct,
  mkrcol = "markers",
  ctcol = "celltype",
  overwrite = FALSE,
  verbose = TRUE
)

Arguments

cd

the colData DataFrame

out

list data structure returned by getCellGroups

outname

character indicating the name of the out data structure

ct

character indicating the celltype to assign in the ctcol

mkrcol

character indicating the cd column to store the markers indicated by outname (default is markers)

ctcol

character indicating the column in cd to store the cell type indicated by ct (default is celltype)

overwrite

logical indicating if the cell types have to be overwritten without checking if detected barcodes were already assigned to other celltypes

verbose

logical for having informative messages during the execution

Value

an updated version of the cd DataFrame


waldronlab/SingleCellMultiModal documentation built on Nov. 23, 2024, 3:46 p.m.