readDataFile: Read data files from gemma

View source: R/highLevelFunctions.R

readDataFileR Documentation

Read data files from gemma

Description

This is a simple wrapper for read_tsv that also deals with comments that are at the beginning of the file. If it is an expression file IdColnames simplifies column names

Usage

readDataFile(expFile, IdColnames = FALSE)

Arguments

expFile

Path to a file downloaded from gemma, possibly using datasetInfo function (request = 'data').

IdColnames

Logical. should column names be turned into IDs. Only valid for expression data

Value

A data frame that includes experiment and sample level data or a list that has experiment and sample level data as separate elements.


PavlidisLab/gemmaAPI.R documentation built on July 26, 2022, 7:13 a.m.