Learn R Programming

bridger2 (version 0.1.0)

CalcHalflifeDeviation: Calculate RNA half-life SD.

Description

BridgeRHalfLifeCalcR2Select calculates RPKM SD and RNA half-life SD for each gene.

Usage

CalcHalflifeDeviation(inputFile, rawFile, group = c("CTRL_PUM1", "CTRL_PUM2", "CTRL_DKD"), hour = c(0, 1, 2, 4, 8, 12), save = T, figSave = F, inforColumn = 4, outputPrefix = "BridgeR_7")

Arguments

inputFile
The dataframe of halflife table.
rawFile
The dataframe of RPKM table.
group
The vector of group names.
hour
The vector of time course about BRIC-seq experiment.
save
Whether to save the output matrix file.
figSave
Whether to save the output fig file.
inforColumn
The number of information columns.
outputPrefix
The prefix for the name of the output.

Value

data.table object about RNA half-life SD.

Examples

Run this code
group <- c("Control", "Knockdown")
hour <- c(0, 1, 2, 4, 8, 12)
half_sd_table <- CalcHalflifeDeviation(halflife_table,
                                       RNA_halflife_grubbs_test,
                                       group = c("CTRL_1",
                                                 "CTRL_2",
                                                 "CTRL_3"),
                                       save = FALSE)

Run the code above in your browser using DataLab