View source: R/mv_interactions.R
mv_interactions | R Documentation |
Displays a heatmap showing the most variable interactions over all clusters.
mv_interactions( data, genes, cluster, c.names = NULL, n = 30, species = c("homo sapiens", "mus musculus") )
data |
a data frame of n rows (genes) and m columns (cells) of read or UMI counts (note : rownames(data)=genes) |
genes |
a character vector of HUGO official gene symbols of length n |
cluster |
a numeric vector of length m |
c.names |
(optional) cluster names |
n |
an integer the number of most variables interactions |
species |
"homo sapiens" or "mus musculus" |
The function displays a heatmap showing the most variable interactions over all clusters
data <- matrix(runif(1000,0,1),nrow=5,ncol=200) genes <- c("gene 1","gene 2","gene 3","gene 4","gene 5") cluster <- c(rep(1,100),rep(2,100)) mv_interactions(data,genes,cluster)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.