Description Usage Arguments Value Note Examples
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
).
1 2 3 4 5 6 7 | FunctionalityScore(x, n, markers = NULL)
## S3 method for class 'COMPASSResult'
FunctionalityScore(x, n, markers = NULL)
## Default S3 method:
FunctionalityScore(x, n, markers = NULL)
|
x |
An object of class |
n |
The number of markers included in an experiment. It is inferred
from the data when |
markers |
The set of markers for which to compute a Functionality score. By default uses all markers. Must match names returned by |
A numeric vector of functionality scores.
The null category is implicitly dropped when computing the functionality
score for a COMPASS
result; this is not true for the regular matrix
method.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.