Diff of /man/getMoHeatmap.Rd [000000] .. [494cbf]

Switch to unified view

a b/man/getMoHeatmap.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/getMoHeatmap.R
3
\name{getMoHeatmap}
4
\alias{getMoHeatmap}
5
\title{Get multi-omics comprehensive heatmap}
6
\usage{
7
getMoHeatmap(
8
  data = NULL,
9
  is.binary = c(FALSE, FALSE, FALSE, FALSE, FALSE, FALSE),
10
  row.title = c("Data1", "Data2", "Data3", "Data4", "Data5", "Data6"),
11
  legend.name = c("Data1", "Data2", "Data3", "Data4", "Data5", "Data6"),
12
  clust.res = NULL,
13
  clust.dend = NULL,
14
  show.col.dend = TRUE,
15
  show.colnames = FALSE,
16
  show.row.dend = c(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE),
17
  show.rownames = c(FALSE, FALSE, FALSE, FALSE, FALSE, FALSE),
18
  clust.dist.row = c("pearson", "pearson", "pearson", "pearson", "pearson", "pearson"),
19
  clust.method.row = c("ward.D", "ward.D", "ward.D", "ward.D", "ward.D", "ward.D"),
20
  clust.col = c("#2EC4B6", "#E71D36", "#FF9F1C", "#BDD5EA", "#FFA5AB", "#011627",
21
    "#023E8A", "#9D4EDD"),
22
  color = rep(list(c("#00FF00", "#000000", "#FF0000")), length(data)),
23
  annCol = NULL,
24
  annColors = NULL,
25
  annRow = NULL,
26
  width = 6,
27
  height = 4,
28
  fig.path = getwd(),
29
  fig.name = "moheatmap"
30
)
31
}
32
\arguments{
33
\item{data}{A list of data frame or matrix storing multiple omics data with rows for features and columns for samples.}
34
35
\item{is.binary}{A logicial vector to indicate if the subdata is binary matrix of 0 and 1 such as mutation.}
36
37
\item{row.title}{A string vector to assign titles for each subdata.}
38
39
\item{legend.name}{A string vector to assign legend title for each subdata.}
40
41
\item{clust.res}{A clust.res object returned by `getMOIC()` with one specified algorithm or `get\%algorithm_name\%` or `getConsensusMOIC()` with a list of multiple algorithms.}
42
43
\item{clust.dend}{A dendrogram object returned returned by `getMOIC()` with one specified algorithm or `get\%algorithm_name\%` or `getConsensusMOIC()` with a list of multiple algorithms.}
44
45
\item{show.col.dend}{A logical vector to indicate if showing the dendrogram for column at the top of heatmap.}
46
47
\item{show.colnames}{A logical vector to indicate if showing the names for column at the bottom of heatmap.}
48
49
\item{show.row.dend}{A logical vector to indicate if showing the dendrogram for row of each subdata.}
50
51
\item{show.rownames}{A logical vector to indicate if showing the names for row of each subdata.}
52
53
\item{clust.dist.row}{A string vector to assign distance method for clustering each subdata at feature dimension.}
54
55
\item{clust.method.row}{A string vector to assign clustering method for clustering each subdata at feature dimension.}
56
57
\item{clust.col}{A string vector storing colors for annotating each subtype at the top of heatmap.}
58
59
\item{color}{A list of string vectors storing colors for each subheatmap of subdata.}
60
61
\item{annCol}{A data.frame storing annotation information for samples with exact the same sample order with data parameter.}
62
63
\item{annColors}{A list of string vectors for colors matched with annCol.}
64
65
\item{annRow}{A list of string vectors to indicate which features belong to which subdata should be annotated specifically in subheatmap.}
66
67
\item{width}{An integer value to indicate the width for each subheatmap with unit of cm.}
68
69
\item{height}{An integer value to indicate the height for each subheatmap with unit of cm.}
70
71
\item{fig.path}{A string value to indicate the output path for storing the comprehensive heatmap.}
72
73
\item{fig.name}{A string value to indicate the name of the comprehensive heatmap.}
74
}
75
\value{
76
A pdf of multi-omics comprehensive heatmap
77
}
78
\description{
79
This function vertically concatenates multiple heatmap derived from each omics data. `getMoHeatmap` supports customized column annotation and is able to mark the selected features if indicated.
80
}
81
\examples{
82
# There is no example and please refer to vignette.
83
}
84
\references{
85
Gu Z, Eils R, Schlesner M (2016). Complex heatmaps reveal patterns and correlations in multidimensional genomic data. Bioinformatics.
86
}