plotConsProfiles: Plot marker consenses profiles.

Description Usage Arguments Value Author(s) Examples

View source: R/plotting.R

Description

The function plots marker consensus profiles obtained from mrkConsProfile

Usage

1

Arguments

object

A matrix containing marker consensus profiles as output from mrkConsProfiles().

order

Order for markers (optional).

plot

A logical(1) defining whether the heatmap should be plotted. Default is TRUE.

Value

Invisibly returns ggplot2 object.

Author(s)

Tom Smith

Examples

1
2
3
4
5
6
7
library("pRolocdata")
data(E14TG2aS1)
hc <- mrkHClust(E14TG2aS1, plot = FALSE)
mm <- getMarkerClasses(E14TG2aS1)
ord <- levels(factor(mm))[order.dendrogram(hc)]
fmat <- mrkConsProfiles(E14TG2aS1)
plotConsProfiles(fmat, order = ord)

pRoloc documentation built on Nov. 8, 2020, 6:26 p.m.