makeVoomInput: Make Voom transformed input for BarCodePlot and ROAST test

Description Usage Arguments Value Examples

View source: R/PlotBarCodes.R

Description

Make Voom transformed input for BarCodePlot and ROAST test

Usage

1
makeVoomInput(fcountOutput, design, genome = "mm10", plotFile = NULL)

Arguments

fcountOutput

A featurecounts output file

design

A data frame containing design information. rownames should correspond to columns in count file and column could be control/test or any set of factors.

genome

Genome of organism to fetch annotation (available : "mm10", "hg38" , "dm6")

plotFile

File name to output filtering plots (.pdf).

Value

A plot (as pdf) and a voom transformed output as list.

Examples

1
2
3
4
fc <- system.file("extdata", "fcount_mouse.tsv", package="vivlib")
design <- data.frame(row.names = c(paste0("cnt_", 1:3), paste0("KD_",1:3)),
                     condition = rep(c("cnt","KD"), each = 3) )
makeVoomInput(fcountOutput = fc, design = design, plotFile = "test.pdf")

vivekbhr/vivlib documentation built on May 3, 2019, 6:13 p.m.