vizectionValidate: Validate objects passed to Vizection

Description Usage Arguments Examples

Description

Makes an error with objects that do not fit the requirements for being used in Vizection

Usage

1
vizectionValidate(genes, libs)

Arguments

genes

A ‘genes’ table.

libs

A ‘libs’ table.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Make arbitrary input data using the "iris table".
ilibs <- iris
ilibs$group <- ilibs$Species
ilibs$samplename <- paste("sample", 1:150)
rownames(ilibs) <- ilibs$samplename
ilibs$Run <- "Run1"
ilibs$counts <- 10

igenes <- t(iris[,1:4]) %>% data.frame
colnames(igenes) <- rownames(ilibs)

# Check that the format is valid (silently returns TRUE).
vizectionValidate(genes=igenes, libs=ilibs)

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