Description Usage Arguments Details Author(s) Examples
description
1 | snv.heatmap(x, width = 1000, height = 5000, margins = c(5, 12), ...)
|
x |
A |
width |
width |
height |
height |
margins |
margins |
... |
? |
details
Jonathan Ellis <jonathan.j.ellis@gmail.com>
1 2 3 4 5 6 7 8 9 | set.seed(1000)
genes <- paste0('Gene_', toupper(letters)[1:20])
tumours <- paste0('LC1_', toupper(letters)[1:4])
x <- sapply(1:length(genes),
function(i) sample(tumours, sample(length(tumours))[1]))
names(x) <- genes
y <- as.data.frame(unlist(x))
dat <- data.frame(Gene = substr(rownames(y), 1, 6), Tumour = y[, 1])
snv.heatmap(dat, margins = c(5, 8))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.