simulation: Simulation slot

Description Author(s) Examples

Description

simulation is a slot of pipelineObj class. It consists of a numeric value of the simulation size (used in order to estimate Saaty's consistency ratio).

Author(s)

Daryanaz Dargahi <daryanazdargahi@gmail.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
mat <- matrix(nrow = 7, ncol = 3, data = NA)
mat[,1] <- c('0', '1','2','3','4','4.1','4.2')
mat[,2] <- c('Prioritization_of_DE_genes','Tumor_expression','Normal_expression',
             'Frequency', 'Epitopes', 'Number_of_epitopes', 'Size_of_epitopes')
mat[,3] <- c(system.file('extdata','aggreg.judgement.tsv',package = 'Prize'),
             system.file('extdata','tumor.PCM.tsv',package = 'Prize'),
             system.file('extdata','normal.PCM.tsv',package = 'Prize'),
             system.file('extdata','freq.PCM.tsv',package = 'Prize'),
             system.file('extdata','epitope.PCM.tsv',package = 'Prize'),
             system.file('extdata','epitopeNum.PCM.tsv',package = 'Prize'),
             system.file('extdata','epitopeLength.PCM.tsv',package = 'Prize'))

result <- pipeline(mat, model = 'relative', simulation = 500)
simulation(result)

Example output

0 Prioritization_of_DE_genes is processed.
1 Tumor_expression is processed.
2 Normal_expression is processed.
3 Frequency is processed.
4 Epitopes is processed.
4.1 Number_of_epitopes is processed.
4.2 Size_of_epitopes is processed.
[1] 500

Prize documentation built on April 28, 2020, 7:48 p.m.