plotCNV: Plots a Heatmap-like Overview of the CNVs

Description Usage Arguments Value Author(s) Examples

View source: R/qsea.plots.R

Description

This function plots the Copy Number Variations (CNVs) of the samples in a heatmap like representation. Amplified regions are depicted in red, whereas deletions are depicted green, and CNV free regions blue. The samples are ordered by an hierarchical clustering.

Usage

1
2
3
4
plotCNV(qs, dist = c("euclid", "cor")[1], clust_method = "complete",
            chr = getChrNames(qs), samples =getSampleNames(qs),
            cex = 1, labels = c(TRUE, TRUE,TRUE, TRUE), naColor = "darkgrey",
            indicateLogFC = TRUE )

Arguments

qs

a qseaSet object (mandatory)

dist

distance measure for clustering. dQuoteeuclidian or dQuotecorrelation based (1-cor)

clust_method

method to be passed to hclust

chr

vector of chromosomes to be depicted

samples

samples for which CNVs are depicted

cex

font size of labels

labels

Boolean vector of length four (bottom, left, top, right), specifying the sides of the map to be labeled

naColor

Color for regions without CNV information

indicateLogFC

indicate the CNV logFC values in the legend

Value

This function returns the pairwise distances of the CNV profiles, on which the clustering is based on.

Author(s)

Mathias Lienhard

Examples

1
2

qsea documentation built on Nov. 8, 2020, 8:28 p.m.