Learn R Programming

COMPASS (version 1.10.2)

FunctionalityScore: Compute the Functionality Score for each subject fit in a COMPASS model

Description

Computes the functionality score for each observation from the gamma matrix of a COMPASS model fit. The scores are normalized according to the total number of possible subsets that could be observed (2^M - 1).

Usage

FunctionalityScore(x, n)
"FunctionalityScore"(x, n)
"FunctionalityScore"(x, n)

Arguments

x
An object of class COMPASSResult, as returned by COMPASS. Alternatively, a matrix of functionality scores, used under the assumption that the 'null' category has been dropped.
n
The number of markers included in an experiment. It is inferred from the data when x is a COMPASSResult.

Value

A numeric vector of functionality scores.

Examples

Run this code
FunctionalityScore(CR)

Run the code above in your browser using DataLab