mdsGlobal: Genome-wide MDS plot for multiple pairs

Description Usage Arguments Value Examples

View source: R/mdsGlobal.R

Description

The mdsGlobal is function to generate : multidimensional scaling plot for genome-wide c-scores or d-scores.

Usage

1
mdsGlobal(acs, model.name, sep = "_", file)

Arguments

acs:

pairwise c-scores or d-scores matrix (c-scores is recommended)

model.name:

a vector of dataset names.

sep:

a character string to separate the data terms. Please avoid characters appeared in model.name.

file:

the output file name.

Value

A MDS plot of c-scores or d-scores for all study pairs to visualize global distance between each data pair.

Examples

1
2
3
4
5
6
7
8
## Not run: 
#mcmc.merge.list from the merge step (see the example in function 'merge')
#ACS_ADS_global from the multi_ACS_ADS_global step (see the example in 'multi_ACS_ADS_global')
dataset.names = c("hb","hs","ht","ha","hi","hl",
                  "mb","ms","mt","ma","mi","ml")
mdsGlobal(ACS_ADS_global$ACS,dataset.names,sep="_",file="~/globalMDS.pdf")

## End(Not run)

weiiizong/CAMO documentation built on Dec. 23, 2021, 5:09 p.m.