plotCorrelationHeatmap: Plot Correlation Heatmap

Description Usage Arguments Value Author(s) See Also Examples

Description

This function calculates a correlation matrix based on feature expression per sample.

Usage

1
2
3
## S4 method for signature 'bcbioRNASeq'
plotCorrelationHeatmap(object, normalized = c("rlog",
  "vst", "tmm", "tpm"), ...)

Arguments

object

Object.

normalized

Character indicating which normalization method to apply:

  • "tpm": Transcripts per million (tximport).

  • "tmm": edgeR trimmed mean of M-values. Calculated on the fly.

  • "rlog": DESeq2 log2 regularized log transformation.

  • "vst": DESeq2 log2 variance stabilizing transformation.

...

Passthrough arguments to SummarizedExperiment method.

Value

Show heatmap and invisibly return a list of the components.

Author(s)

Michael Steinbaugh

See Also

Other Quality Control Functions: plot5Prime3PrimeBias, plotCountDensity, plotCountsPerGene, plotDispEsts, plotExonicMappingRate, plotGenderMarkers, plotGeneSaturation, plotGenesDetected, plotIntronicMappingRate, plotMappedReads, plotMappingRate, plotMeanSD, plotPCACovariates, plotPCA, plotRRNAMappingRate, plotTotalReads

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
# bcbioRNASeq ====
# Pearson correlation
plotCorrelationHeatmap(bcb_small, method = "pearson")

# Spearman correlation
plotCorrelationHeatmap(bcb_small, method = "spearman")

# Inferno palette
plotCorrelationHeatmap(
    bcb_small,
    color = inferno,
    legendColor = inferno
)

# Default pheatmap palette
plotCorrelationHeatmap(
    bcb_small,
    color = NULL,
    legendColor = NULL
)

WeiSong-bio/roryk-bcbioRNASeq documentation built on July 6, 2019, 12:02 a.m.