plotSimilarity {maDB}R Documentation

Draw a plot for the Similarity-class

Description

This function draws the similarity plot for the Similarity-class objects. Basically it draws the template vector and the 5 rows of the data matrix with the smalles distance to the template in a plot.

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.8.0 Index]