View source: R/multi_ACS_ADS_pathway.R
multi_ACS_ADS_pathway | R Documentation |
The multi_ACS_ADS_pathway
is function to perform congruence analysis
for multiple pairs, generating pathway-specific c-scores, d-scores and their permuted p-value.
multi_ACS_ADS_pathway(
mcmc.merge.list,
dataset.names,
select.pathway.list,
measure = "Fmeasure",
B = 100,
parallel = F,
n.cores = 4
)
mcmc.merge.list: |
a list of merged MCMC output matrices. |
dataset.names: |
a vector of dataset names. |
measure: |
three types of scores to be used: "youden", "Fmeasure","geo.mean". Default is "Fmeasure". |
B: |
number of permutations. |
parallel: |
whether to perform parallel ('mclapply' will be used if parallel=T) computing in permutation. |
n.cores: |
if parallel=T, the number of cores to use (mc.cores parameter in 'mclapply' function). |
Four lists:
ACS.mat: pathway-specific c-scores.
ACSpvalue.mat: p-values for pathway-specific c-scores.
ADS.mat: pathway-specific d-scores.
ADSpvalue.mat: p-values for pathway-specific d-scores.
In addition, the four data matrices are written to a folder named "ACS_ADS_Pathway".
## Not run:
#mcmc.merge.list from the merge step (see the example in function 'merge')
#select.pathway.list from the pathSelect step (see the example in function 'pathSelect')
dataset.names = c("hb","hs","ht","ha","hi","hl",
"mb","ms","mt","ma","mi","ml")
ACS_ADS_pathway = multi_ACS_ADS_pathway(mcmc.merge.list,dataset.names,
select.pathway.list,
measure="Fmeasure",
B=1000,parallel=F)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.