getMethodInfo {STATegRa} | R Documentation |
Generic function to retrieve information about the method used by omicsCompAnalysis
on a caClass-class
object.
getMethodInfo(x, method=FALSE, comps=NULL, block=NULL)
x |
|
method |
Logical indicating whether to return the method name. |
comps |
Character indicating which component number to return ("common", "distinctive" or "all") |
block |
Character indicating the block of data for which the component count will be given. It can be specified by the position of the block ("1" or "2") or the name assigned in the |
A list containing the requested information.
Patricia Sebastian-Leon
omicsCompAnalysis
, caClass-class
data("STATegRa_S3") B1 <- createOmicsExpressionSet(Data=Block1.PCA, pData=ed.PCA, pDataDescr=c("classname")) B2 <- createOmicsExpressionSet(Data=Block2.PCA, pData=ed.PCA, pDataDescr=c("classname")) # Omics components analysis res <- omicsCompAnalysis(Input=list(B1, B2), Names=c("expr", "mirna"), method="DISCOSCA", Rcommon=2, Rspecific=c(2, 2), center=TRUE, scale=TRUE, weight=TRUE) getMethodInfo(res) getMethodInfo(res, method=TRUE) getMethodInfo(res, comps="all", block="expr")