corrMatInv: Generate an inversed correlation matrix between expression...

Description Usage Arguments Value Examples

Description

Generate an inversed correlation matrix between expression profiles of species

Usage

1
2
corrMatInv(objects = NULL, taxa = "all", subtaxa = NULL,
  method = c("spe", "pea"))

Arguments

objects

a vector of objects of class taxonExp or an object of class taxaExp

taxa

one single character or a vector of characters specifying main taxa to generate an inversed correlation matrix. If one single character "all" is given, all the taxa included in the taxaExp will be matched and included ("all" by default).

subtaxa

one single character specifying sub taxa to be included in generating an inversed corrlation matrix.

method

specifying which distance method (Spearman or Pearson) to be used to estimate correlations between expression profiles ("spe" by default)

Value

returns an inversed correlation matrix

Examples

1
2
3
4
data('tetraExp')
species.group <- c("Human", "Chimpanzee", "Bonobo", "Gorilla",
"Macaque", "Mouse", "Opossum", "Platypus")
inv.corr.mat <- corrMatInv(tetraExp, taxa = species.group, subtaxa = "Brain")

jingwyang/TreeExp documentation built on June 11, 2019, 6:17 p.m.