multiARS_pathway: Resemblance analysis for multiple pairs: pathway specific ARS...

Description Usage Arguments Value Examples

View source: R/multiARS.R

Description

Resemblance analysis for multiple pairs: pathway specific ARS and their permuted p-value The multiARS_pathway is function to perform resemblance analysis for multiple pairs, generating pathway specific ARS and their permuted p-value.

Usage

1
2
multiARS_pathway(mcmc.merge.list, dataset.names, select.pathway.list,
  measure = "Fmeasure", parallel = F, cpu = 2, B = 50)

Arguments

mcmc.merge.list:

a list of merged MCMC output matrices.

dataset.names:

a vector of dataset names.

select.pathway.list:

a list of selected pathways (containing gene components).

measure:

three types of ARS measures to be used: "youden", "Fmeasure","geo.mean". Default is "Fmeasure".

parallel:

whether to perform parallel computing in permutation.

cpu:

if parallel=T, how many cpus to be used.

B:

number of permutations.

Value

a list of two data frames: pathway specific ARS values and their permuted p-value (pathway on rows, column being ARS value or the p-values), in addition, both are written to the folder named "arsPathway".

Examples

1
2
3
4
5
6
7
8
## Not run: 
#mcmc.merge.list from the merge step (example 2)
#select.pathway.list from the pathSelect step
dataset.names <- c("hb","hs","ht","mb","ms","mt")
ARS_pathway <- multiARS_pathway(mcmc.merge.list,dataset.names,
select.pathway.list,B=100)

## End(Not run)

matianzhou/CAMO documentation built on May 21, 2019, 10:12 a.m.