vizection: Launch the Vizection shiny application.

Description Usage Arguments Examples

Description

By default, Vizection will look for two data frames called “genes” and “libs”. Alternatively, these data frames can be passed as arguments to the vizection() function. Their names will be used to update the global options (vizection.genes and vizection.libs) that Vizection uses to find the objects in the global environment.

Usage

1
vizection(se, genes, libs, local = F)

Arguments

local

T if you want host to be "0.0.0.0"

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 
library("airway")
data("airway")
se <- airway
vizection(se)


# Older way to run Vizection:
data(iris)
genes <- iris[, 1:4]
libs <- as.data.frame(iris[, "Species"])
colnames(libs) <- c('group')
libs$samplename <- as.character(1:nrow(genes))
rownames(libs) <- libs$samplename 
libs$counts <- rnorm(n = nrow(genes), mean = 1000, sd = 200)
genes <- as.data.frame(t(genes))
vizection(genes = genes, libs = libs, local = FALSE)

## End(Not run)

shamansim/Vizection documentation built on May 29, 2019, 8:06 p.m.