plotConsProfiles | R Documentation |
The function plots marker consensus profiles obtained from mrkConsProfile
plotConsProfiles(object, order = NULL, plot = TRUE)
object |
A |
order |
Order for markers (optional). |
plot |
A |
Invisibly returns ggplot2
object.
Tom Smith
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.