scores {COMPASS} | R Documentation

## Fetch the table of scores and metadata from a COMPASSResult Object

### Description

This function extracts the functionality and polyfunctionality scores from a COMPASS result merged with the sample metadata table, accounting for any dropped samples due to filtering.

### Usage

    scores(x, markers = NULL)

### Arguments

`x` | A `COMPASSResult` object.
`markers` | A `character` vector of markers for which to compute the scores. Defaults to all markers. Must match the names returned by `markers()`.

### Examples

    scores(CR)

[Package COMPASS version 1.27.0 Index]