Skip to contents

This function reads in expression ratios from a text file. The data is expected to be in tabular format. First column is expected to be the locus identity (e.g. SNP identifier), and remaining columns are the samples.

Usage

read_ae_ratios(file, sep = ",", header = TRUE, ...)

Arguments

file

A path to a file containing the expression ratios.

sep

The separator between columns.

header

Does the first data line contain column names?

...

Extra arguments passed on to data.table::fread().

Value

A data frame of expression values. Each row is for a locus. The locus identity is indicated in the first column. Remaining columns are samples.