Description Usage Arguments Value Author(s) See Also Examples
Generic function to retrieve loadings (common and distinctive) found by omicsCompAnalysis
on a caClass-class
object.
1 | getLoadings(x, part=NULL, block=NULL)
|
x |
|
part |
Character indicating whether "common" or "distinctive" loadings should be displayed |
block |
Character indicating the block of data for which the loadings 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
1 2 3 4 5 6 7 8 9 10 11 12 | 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)
getLoadings(res)
getLoadings(res, part="common", block="expr")
getLoadings(res, part="distinctive", block="expr")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.