MakeBiasPerCatMatrix: Make bias matrix

MakeBiasPerCatMatrixR Documentation

Make bias matrix

Description

Make bias matrix

Usage

MakeBiasPerCatMatrix(
  matrix,
  metadata,
  indivVar,
  indivVal,
  cellTypeVar,
  cellTypeVal,
  condition = "no",
  conditionVal = ""
)

Arguments

matrix,

barcode count matrix

metadata,

the metadata corresponding to the matrix

indivVar,

name of variable defining individuals

indivVal,

list of selected individuals

cellTypeVar,

list of sected variables

cellTypeVal,

list of sected values

condition,

is there a condtion, default is "no"

conditionVal,

condition value (only one accepted), default is ""

Value

a list of two matrices, the category for PlotCategories function and barcode count matrix for PlotCategoryCount function


TeamPerie/CellDestiny documentation built on July 4, 2022, 8:40 a.m.