diagplotCor: Summarized correlation plots

Description Usage Arguments Value Author(s) Examples

View source: R/plot.R

Description

This function uses the read counts matrix to create heatmap or correlogram correlation plots.

Usage

1
2
    diagplotCor(mat, type = c("heatmap", "correlogram"),
        output = "x11", path = NULL, ...)

Arguments

mat

the read counts matrix or data frame.

type

create heatmap of correlogram plots.

output

one or more R plotting device to direct the plot result to. Supported mechanisms: "x11" (default), "png", "jpg", "bmp", "pdf" or "ps".

path

the path to create output files.

...

further arguments to be passed to plot devices, such as parameter from par.

Value

The filename of the pairwise comparisons plot produced if it's a file.

Author(s)

Panagiotis Moulos

Examples

1
2
3
dataMatrix <- metaseqR2:::exampleCountData(2000)
diagplotCor(dataMatrix,type="heatmap")
diagplotCor(dataMatrix,type="correlogram")

metaseqR2 documentation built on Nov. 8, 2020, 7:34 p.m.