ReadBeta {MAGeCKFlute} | R Documentation |
Read gene beta scores from file or data frame
ReadBeta(gene_summary, keytype = "Symbol", organism = "hsa")
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). |
A data frame, in which the first column is ENTREZID, and the later columns are beta score for each samples.
Wubing Zhang
data(mle.gene_summary) dd = ReadBeta(mle.gene_summary, organism="hsa") head(dd)