50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

RnBeads (version 1.4.0)

read.sample.annotation: read.sample.annotation

Description

Reads Illumina Infinium sample annotation.

Usage

read.sample.annotation(fname, sep = rnb.getOption("import.table.separator"))

Arguments

fname
Name of text file that contains a sample annotation table with a header. This method handles a variety of file formats, including comma-separated values file exported from Genome Studio.
sep
One-element character used as field separator in the tables file.

Value

Sample annotation table in the form of a data.frame, in which every row corresponds to a sample, and every column - to a trait.

Examples

Run this code


  annotation.file<-system.file("")
  sa<-read.sample.annotation(annotation.file)
  sa

Run the code above in your browser using DataLab