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

Description Usage Arguments Examples

View source: R/COMPASSResult-methods.R

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

1

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

1

Example output

     iid         FS        PFS
1: iid_1 0.05100000 0.10927778
2: iid_2 0.02771429 0.01077778
3: iid_3 0.42857143 0.16666667
4: iid_4 0.35714286 0.13888889
5: iid_5 0.28014286 0.10894444

COMPASS documentation built on Nov. 8, 2020, 8:05 p.m.