Description Usage Arguments Value References See Also Examples
Plot distances/correlation between miRNA or mRNA samples
1 2 | plotCordist(obj, subset, type = "cor", method.cor = "pearson",
method.dist = "euclidean", hierarchical = FALSE, ...)
|
obj |
a corObject. |
subset |
"miRNA" or "mRNA" |
type |
"cor" (correlation) or "dist" (distance). |
method.cor |
method used for computing correlation: "pearson" or "spearman". |
method.dist |
method used for computing distance from dist function: This must be one of ‘"euclidean"’, ‘"maximum"’, ‘"manhattan"’, ‘"canberra"’, ‘"binary"’ or ‘"minkowski"’. Any unambiguous substring can be given. |
hierarchical |
TRUE or FALSE. Sort the rows using hierarchical clustering. |
... |
further arguments. |
A plot of the matrix of distances (or correlations) between samples. A hierarchical clustering of the samples can also be performed to sort the rows and columns.
http://www.phaget4.org/R/image_matrix.html
1 2 3 | data(data.obj)
plotCordist(data.obj, "miRNA", type="cor")
plotCordist(data.obj, "mRNA", type="dist")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.