ReadRRA: Read gene summary file in MAGeCK-RRA results

Description Usage Arguments Details Value Author(s) Examples

View source: R/ReadRRA.R

Description

Read gene summary file in MAGeCK-RRA results

Usage

1
ReadRRA(gene_summary, score = c("lfc", "rra")[1])

Arguments

gene_summary

A data frame or a file path to gene summary file generated by MAGeCK-RRA.

score

"lfc" (default) or "rra", specifying the score type.

Details

If the score type is equal to lfc, then LFC will be returned. If the score type is rra, the log10 transformed RRA score will be returned.

Value

A data frame including three columns, including "id", "LFC" and "FDR".

Author(s)

Wubing Zhang

Examples

1
2
3
4
file1 = file.path(system.file("extdata", package = "MAGeCKFlute"),
"testdata/rra.gene_summary.txt")
gdata = ReadRRA(file1)
head(gdata)

MAGeCKFlute documentation built on Nov. 8, 2020, 5:40 p.m.