run_correlation | R Documentation |
This function can compute the correlations on the samples from two count matrix. It will use Pearson method as default.
run_correlation(
data1,
data2,
ngenes = 2000,
method.use = "pearson",
color.use = NULL
)
data1 |
The first data frame with genes in rows and samples in columns |
data2 |
The second data frame with genes in rows and samples in columns |
ngenes |
Number of top variable genes used for the computation |
method.use |
Default is "pearson". Other methods include kendall" or "spearman". See ?cor. |
color.use |
Color palette for the heatmap plot. |
A heatmap plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.