Description Usage Arguments Value Author(s) See Also Examples
A function to calculate average marker profiles.
1 | mrkConsProfiles(object, fcol = "markers", method = mean)
|
object |
An instance of class |
fcol |
Feature meta-data label (fData column name) defining
the groups to be differentiated using different
colours. Default is |
method |
A |
A matrix
of dimensions number of clusters
(exluding unknowns) by number of fractions.
Laurent Gatto and Lisa M. Breckels
The mrkHClust
function to produce a
hierarchical cluster.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library("pRolocdata")
data(dunkley2006)
mrkConsProfiles(dunkley2006)
mrkConsProfiles(dunkley2006, method = median)
mm <- mrkConsProfiles(dunkley2006)
## Reorder fractions
o <- order(dunkley2006$fraction)
## Plot mean organelle profiles using the
## default pRoloc colour palette.
matplot(t(mm[, o]), type = "l",
xlab = "Fractions", ylab = "Relative intensity",
main = "Mean organelle profiles",
col = getStockcol(), lwd = 2, lty = 1)
## Add a legend
addLegend(markerMSnSet(dunkley2006), where = "topleft")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.