ReadBeta {MAGeCKFlute} | R Documentation

## Read gene beta scores

### Description

Read gene beta scores from file or data frame

### Usage

    ReadBeta(gene_summary, keytype = "Symbol", organism = "hsa")

### Arguments

`gene_summary` | A file path or a data frame, data frame, which has columns of 'Gene' and '*|beta'.
`keytype` | Type of gene id in 'gene_summary', which should be one of "Entrez" or "Symbol".
`organism` | Character, KEGG species code, or the common species name, used to determine the gene annotation package. For all potential values check: data(bods); bods. Default org="hsa", and can also be "human" (case insensitive).

### Value

A data frame, in which the first column is ENTREZID, and the later columns are beta score for each samples.

### Author(s)

Wubing Zhang

### Examples

    data(mle.gene_summary)
    dd = ReadBeta(mle.gene_summary, organism="hsa")
    head(dd)

[Package MAGeCKFlute version 1.2.3 Index]