COMPASSfitToCountsTable: Extract a table of counts from a COMPASSResult object

View source: R/utils.R

COMPASSfitToCountsTableR Documentation

Extract a table of counts from a COMPASSResult object

Description

Returns a table of counts and parent counts for each cell subset in a COMPASS fit.

Usage

COMPASSfitToCountsTable(
  x,
  idcol = NULL,
  parent = NULL,
  drop = NULL,
  stimName = NULL
)

Arguments

x

COMPASSResult

idcol

unquote variable name in the metadata for the subject id.

parent

character name of the parent population for this model fit. e.g. "CD4"

drop

numeric vector indicating the columns in the metadata to drop from the output. Usually sample-specific columns rather than subject specific columns.

stimName

the name of the stimulation


RGLab/COMPASS documentation built on Feb. 11, 2025, 4:40 p.m.