| vis.immunr_gene_usage | R Documentation |
Visualise distributions of genes using heatmaps or other plots.
## S3 method for class 'immunr_gene_usage'
vis(.data, .plot = c("hist", "box", "heatmap", "heatmap2", "circos"), ...)
.data |
Output from the geneUsage function. |
.plot |
String specifying the plot type:
|
... |
Other arguments passed to corresponding functions depending on the plot type:
|
A ggplot2 object, pheatmap or circlize object.
geneUsage
## Not run:
data(immdata)
gu <- geneUsage(immdata$data[[1]])
vis(gu)
gu <- geneUsage(immdata$data)
vis(gu, .by = "Status", .meta = immdata$meta)
vis(gu, "box", .by = "Status", .meta = immdata$meta)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.