PolyfunctionalityScore {COMPASS} | R Documentation |
Computes the Polyfunctionality score for each observation from the
gamma matrix of a COMPASS
model fit. The scores are normalized to
one.
PolyfunctionalityScore(x, degree, n, markers = NULL) ## S3 method for class 'COMPASSResult' PolyfunctionalityScore(x, degree, n, markers = NULL) ## Default S3 method: PolyfunctionalityScore(x, degree, n, markers = NULL)
x |
An object of class |
degree |
A vector of weights. If missing, this is the 'degree of functionality', that is, the number of markers expressed in a particular category. |
n |
The total number of markers. This is inferred when |
markers |
A |
A numeric vector of polyfunctionality scores.
PolyfunctionalityScore(CR)