heatmapCmap: heatmap designed for for CMap gene set only

Description Usage Arguments Details Value Examples

Description

heatmapCmap is desgined for the cogena result from CMap only so as to collapse the multi-isntance drugs in CMap!

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
heatmapCmap(
  object,
  method = clusterMethods(object),
  nCluster = nClusters(object),
  orderMethod = "max",
  MultiInstance = "drug",
  CutoffNumGeneset = 20,
  CutoffPVal = 0.05,
  mergeMethod = "mean",
  low = "grey",
  high = "red",
  na.value = "white",
  maintitle = NULL,
  printGS = FALSE,
  add2 = TRUE,
  geom = "tile"
)

## S4 method for signature 'cogena'
heatmapCmap(
  object,
  method = clusterMethods(object),
  nCluster = nClusters(object),
  orderMethod = "max",
  MultiInstance = "drug",
  CutoffNumGeneset = 20,
  CutoffPVal = 0.05,
  mergeMethod = "mean",
  low = "grey",
  high = "red",
  na.value = "white",
  maintitle = "cogena",
  printGS = FALSE,
  add2 = TRUE,
  geom = "tile"
)

Arguments

object

a genecl or cogena object

method

as clMethods in genecl function

nCluster

as nClust in cogena function.

orderMethod

the order method, default is max, other options are "mean", "all", "I", "II" or a number meaning the ith cluster.

MultiInstance

merge multi instances. Options are "drug", "celldrug", "conccelldrug", "concdrug".

CutoffNumGeneset

the cut-off of the number of gene sets in the return table. The default is 20.

CutoffPVal

the cut-off of p-value. The default is 0.05.

mergeMethod

max or mean. The default is mean.

low

colour for low end of gradient.

high

colour for high end of gradient.

na.value

Colour to use for missing values.

maintitle

a character. Default is null

printGS

print the enriched gene set names or not. Default is FALSE

add2

enrichment score for add Up and Down reuglated genes.

geom

tile or circle

Details

orderMethod:

MultiInstance:

Value

a gene set enrichment heatmap

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(Psoriasis)
annofile <- system.file("extdata", "CmapDn100.gmt.xz", package="cogena")
## Not run: 
genecl_result <- coExp(DEexprs, nClust=3, clMethods=c("pam"), 
    metric="correlation", method="complete", ncore=2, verbose=TRUE)
clen_res1 <- clEnrich(genecl_result, annofile=annofile, sampleLabel=sampleLabel)

heatmapCmap(clen_res1, "pam", "3", orderMethod="2")
heatmapCmap(clen_res1, "pam", "3", orderMethod="2", MultiInstance="concdrug")

## End(Not run)

cogena documentation built on Nov. 8, 2020, 6:54 p.m.