scores: Fetch the table of scores and metadata from a COMPASSResult...

View source: R/COMPASSResult-methods.R

scoresR 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)

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