mrna_tidy: Tidy RTCGA.rnaseq data.frame

Description Usage Arguments Value Examples

Description

This is a custom function to tidy up the RTCGA.rnaseq data.frames. The aim is to strip out unnessecary data and get to a typical bioconductor expression matrix. To achieve that, the function drops the first column, extract the patient bcr and gene symbols and add them to the transposed matrix as column and row names.

Usage

1
mrna_tidy(mrna)

Arguments

mrna

A RTCGA.rnaseq data.frame

Value

A tidy expression matrix with genes in the rows and patient samples in the columns.

Examples

1
2
3
library(RTCGA.rnaseq)
rtcga.df <- ACC.rnaseq
ACC.mat <- mrna_tidy(rtcga.df)

MahShaaban/sqlome documentation built on May 28, 2019, 1:46 p.m.