GetCorrelation: GetCorrelation returns the Correlation 'cor(Y,XB)'...

View source: R/MIXTURE.DEBUG_V0.1.R

GetCorrelationR Documentation

GetCorrelation returns the Correlation cor(Y,XB) unnormalized B>0 (absolute) or normalized sum(B)==1 (proportions)

Description

GetCorrelation returns the Correlation cor(Y,XB) unnormalized B>0 (absolute) or normalized sum(B)==1 (proportions)

Usage

GetCorrelation(obj, type = c("proportion", "absolute"))

Arguments

obj

an object of class MIXTURE (see MIXTURE)

type

a character string "proportion" or "absolute". short word is allowed (default: "proportion")

Value

a SxK data matrix with K cell types (according to the signature matrix) and S subjects


elmerfer/MIXTURE documentation built on Aug. 20, 2024, 8:03 p.m.