get_profile_plot_list: Multiple Enriched Heatmaps as list

Description Usage Arguments Value Examples

View source: R/p06_profile_plot_list_functions.R

Description

Multiple Enriched Heatmaps as list

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
get_profile_plot_list(
  exptInfo,
  cluster = NULL,
  clusterColor = NULL,
  clustOrd = NULL,
  geneList,
  colorList = NULL,
  matrixSource = "normalizedmatrix",
  matrixBins = c(200, 200, 100, 10),
  targetType = "region",
  targetName = "gene",
  ylimFraction = NULL,
  keep = c(0, 1),
  rasterPar = list(use = TRUE, qual = 5),
  ...
)

Arguments

exptInfo

experiment info as data frame with information like sampleID, type, path etc

cluster

Dataframe with cluster information. Two columns must be present in this dataframe: 'cluster', 'geneId'. Default: NULL

clusterColor

cluster annotation color information. Default: NULL

clustOrd

A character vector of cluster order in the plot. If not provided, clusters are arranged as per character sort order

geneList

A vector of gene IDs which are to be plotted

colorList

a named list of color objects for each of the sample. Color for profile heatmap should be generated by colorRamp2

matrixSource

Method by which profile matrix was generated. One of deeptools, miao, normalizedmatrix. Default: normalizedmatrix

matrixBins

A numeric vector with four elements representing the column counts for up, body, down regions and binSize for the profile matrix. Default: c(200, 200, 100, 10)

targetType

One of "region", "point". If targetType is "region", target is used to decide the number of bins over region. Otherwise, for "point", a signle point matrix is expected where the region is extracted around single point. Default: region

targetName

Name to be used for target. Eg: "gene", "TSS", "TES", "summit" etc. default: gene

ylimFraction

A named list with intensity scores to use as ylimit for top annotation. If the value is single number, it has to be floating point number to extract the quantile and use limit [0, quantile(x)]. If the value is numeric vector of length 2, the two numbers are used as lower and upper limits for ylimit of top annotation. Default: NULL.

keep

Same as EnrichedHeatmap::normalizeToMatrix. First value is used as lower quantile and any value in profile matrix less than lower quantile is set to lower quantile. Second value is used as upper quantile and any value greater than upper quantile is set to upper quantile. Default: c(0, 1)

rasterPar

rasterization parameters as list() with two elements: use, qual. Default: list(use = TRUE, qual = 5). rasterPar$use is used for use_raster argument and rasterPar$qual is used for raster_quality argument of Heatmap function.

...

Other arguments for EnrichedHeatmap function

Value

A named list of Enriched Heatmap objects

Examples

1

lakhanp1/chipmine documentation built on March 6, 2021, 9:06 a.m.