COMPASSfitToCountsTable {COMPASS} | R 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

[Package COMPASS version 1.30.0 Index]