Description Usage Arguments Value Author(s)
View source: R/correlationPlot.R
correlate
calculates the correlation of a list of named vectors and a named vector. Only entries, existing in both vectors are used.
1 | correlate(regions=NULL, means, expression, method="spearman")
|
means |
a list of named integer vectors. |
expression |
a named integer vector |
method |
method for calculating the correlation |
regions |
a data frame, containing four columns. The pos columns is a character with values out of c("start", "region", "end"). upstream and downstream ar integers, indicating how many bases upstream and downstream from the specified position in the feature are included. level is an integer, that says at which level the rectangle in the lower device should be plotted. The numeration goes from the bottom to the ceiling. cor is the correlation of the region, which is plotted in the upper panel. |
a list with the correlations of each element of the list to the expression vector.
Benedikt Zacher zacher@lmb.uni-muenchen.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.