knitr::opts_chunk$set(echo = TRUE)
knitr::opts_chunk$set(fig.align = "center")
knitr::opts_chunk$set(fig.width = 12)
knitr::opts_chunk$set(fig.height = 6)

library(immunarch)

In order to make visualisation process easier, we developed a Shiny-based tool called FixVis. The FixVis is distributed with immunarch package. To run FixVis just apply it to any ggplot2-based plot, including those from the immunarch's vis function. It works perfectly for every plot, except those arranged in grid by grid.arrange due to the complexities surrounding grid.arrange.

data(immdata)
gu = geneUsage(immdata$data)
p = vis(gu)
fixVis(p)

If you want to test it, run fixVis with no arguments; it will use the diamonds data for visualisation:

fixVis()

For convenience we published a FixVis instances that are available online here. Also a FixVis instance for quick overview is embedded in the cell below:

knitr::include_app("https://immunomind.shinyapps.io/fixvis/", height = "800px")


abrown435/immunarch-test documentation built on July 29, 2020, 12:04 a.m.