plotSimilarity {maDB}R Documentation

Draw a plot for the Similarity-class

Description

This function draws a similarity plot for the Similarity-class objects. For further informations and examples refer to the package vignette (which can be opened using the openMadbVignette).

Usage

plotSimilarity(ids, distances, data, template, restrict.to = min(5, length(data[, 1])), template.id = "custom", legend = TRUE, ...)

Arguments

ids A list with the ids (rownames of the data matrix).
distances The vector with the distances (each row of the data matrix to the template vector).
data The data matrix (the expression or regulation patterns of a set of genes over a set of samples).
template The template vector (the expression or regulation pattern of a gene over a set of samples).
restrict.to How many patterns should be drawn. By default the 5 patterns with the smalles distance to the template pattern will be drawn.
template.id The template gene id.
legend If a legend should be drawn.
... additional parameters.

Value

A plot of best matching gene expression or regulation patterns.

Author(s)

Johannes Rainer

See Also

Similarity-class


[Package maDB version 1.10.0 Index]