getPreprocessing: Retrieve information about preprocessing

Description Usage Arguments Value Author(s) See Also Examples

Description

Generic function to retrieve information about the preprocessing done by omicsCompAnalysis on a caClass-class object.

Usage

1
getPreprocessing(x, process=FALSE, preproData=FALSE, block=NULL)

Arguments

x

caClass-class object.

process

Logical indicating whether to return information about the processing done.

preproData

Logical indicating whether to return the pre-processed data matrices.

block

Character indicating the block of data to be returned. It can be specified by the position of the block ("1" or "2") or the name assigned in the caClass-class object. If it is NULL both blocks are displayed.

Value

If both process and preproData are specified, a list containing (otherwise the individual item):

process

Character indicating the processing done

preproData

Matrix (or list of matrices, depending on block) containing pre-processed data

Author(s)

Patricia Sebastian-Leon

See Also

omicsCompAnalysis, caClass-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)
getPreprocessing(res, process=TRUE)
getPreprocessing(res, preproData=TRUE, block="1")

STATegRa documentation built on Nov. 8, 2020, 5:26 p.m.