View source: R/amaretto_functions.R
AMARETTO_EvaluateTestSet | R Documentation |
Code to evaluate AMARETTO on a new gene expression test set. Uses output from AMARETTO_Run() and CreateRegulatorData().
AMARETTO_EvaluateTestSet(AMARETTOresults = AMARETTOresults,
MA_Data_TestSet = MA_Data_TestSet,
RegulatorData_TestSet = RegulatorData_TestSet)
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(). |
result
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.