ReadRRA: Read gene summary file in MAGeCK-RRA results

View source: R/ReadRRA.R

ReadRRAR Documentation

Read gene summary file in MAGeCK-RRA results

Description

Read gene summary file in MAGeCK-RRA results

Usage

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

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


WubingZhang/MAGeCKFlute documentation built on Jan. 27, 2024, 2:43 p.m.