create_sample_gene_heatmap <- function(x) {
plot <- lattice::levelplot(
x=t(as.matrix(x)),
xlab='',
ylab='',
scales=list(x=list(rot=90))
)
return(plot)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.