AMARETTO_EvaluateTestSet: AMARETTO_EvaluateTestSet

Description Usage Arguments Value Examples

View source: R/amaretto_functions.R

Description

Code to evaluate AMARETTO on a new gene expression test set. Uses output from AMARETTO_Run() and CreateRegulatorData().

Usage

1
2
3
AMARETTO_EvaluateTestSet(AMARETTOresults = AMARETTOresults,
  MA_Data_TestSet = MA_Data_TestSet,
  RegulatorData_TestSet = RegulatorData_TestSet)

Arguments

AMARETTOresults

AMARETTO output from AMARETTO_Run().

MA_Data_TestSet

Gene expression matrix from a test set (that was not used in AMARETTO_Run()).

RegulatorData_TestSet

Test regulator data from CreateRegulatorData().

Value

result

Examples

1
2
3
4
5
6
7
8
data('ProcessedDataLIHC')
AMARETTOinit <- AMARETTO_Initialize(ProcessedData = ProcessedDataLIHC,
                                    NrModules = 2, VarPercentage = 50)

AMARETTOresults <- AMARETTO_Run(AMARETTOinit)
AMARETTOtestReport <- AMARETTO_EvaluateTestSet(AMARETTOresults = AMARETTOresults,
                                               MA_Data_TestSet = AMARETTOinit$MA_matrix_Var,
                                               RegulatorData_TestSet = AMARETTOinit$RegulatorData)

broadinstitute/PerturbationAMARETTO documentation built on Nov. 4, 2019, 8:14 a.m.