WISP.getPlot: WISP.getPlot

Description Usage Arguments Value Author(s)

Description

Graphical representations of the sample contingent estimations.

Usage

1
2
WISP.getPlot(w, weight_filtered = FALSE, col_purePop = NULL,
annotsup = NULL, col_annotsup = NULL, plot_type = c("heatmap", "barplot")[1], heatmap_orderedby=NULL, barplot_split = c("by.topweight", "by.annotsup")[1]) 

Arguments

w

data.frame of weights: object returned by WISP.getWeight

weight_filtered

whether use filtered weights. TRUE by default.

plot_type

Type of weights representation : heatmap or barplot.

col_purePop

(optional) vector of colors for the pure populations. vector names must refer to pure population names that must be ordered as in w.

annotsup

(optional) vector of a supplementary annotation to be displayed under each individual sample. supplementary annotation has to be a qualitative variable. vector names must refer to sample names.

col_annotsup

(optional) vector of colors for the supplementary annot levels. vector names must refer to the annotation levels.

heatmap_orderedby

(optional) the name of a pure population if the user wants the heatmap displayed in a specific order. If not specified, samples are ordered according to the first column in w.

barplot_split

whether the barplot should be splitted by top weight pure populations or by the supplementary annotation levels.

Value

Graphical representations of the sample contingent estimations.

Author(s)

Yuna Blum and Aurelie Kamoun


cit-bioinfo/WISP documentation built on June 8, 2019, 8:41 p.m.