load.gene.data: Loading a correctly formatted gene file.

Description Usage Arguments Value Examples

View source: R/loading.R

Description

Returns a list containing two data frames. The second data frame is a formatted and transposed version of the original data with an additional labels column added. For data format instructions see https://github.com/Anderson-Lab/ComplementaryDomainPrioritization/wiki.

Usage

1
load.gene.data(file, start.data.inx)

Arguments

file

A string pointing to the location of the data file

start.data.inx

An integer >= 2 that indicates where the actual data starts.

Value

a list containing two data frames.

Examples

1
2
3
download.example.data()
TCGA.rna = load.gene.data("TCGA_rna.csv",3)
Cattaneo.rna = load.gene.data("Cattaneo_array.csv",5)

Anderson-Lab/ComplementaryDomainPrioritization documentation built on May 5, 2019, 5:59 a.m.