load_dataset: Load table of sample attributes

View source: R/io.R

load_datasetR Documentation

Load table of sample attributes

Description

Load a comma-separated table of sample attributes for the dataset to be analyzed. Alternatively, use prepare_dataset to automatically read sample attributes from filenames. If more than one locus is to be analyzed from a single sequencer sample (i.e., multiplexed samples), either the locusmap argument to prepare_dataset can be used, or load_dataset with an explicit mapping of loci to files.

Usage

load_dataset(fp, ...)

Arguments

fp

path to text file.

...

additional arguments passed to load_csv.

Details

Columns Required:

  • Filename: path to each data file

  • Replicate: identifier for repeated samples; use blanks if not applicable

  • Sample: identifier for a given biological sample

  • Locus: locus identifier matching that used in the locus attributes table (see load_locus_attrs)

Value

data frame of sample attributes for the dataset.


ressy/microsat documentation built on Aug. 24, 2023, 10:09 a.m.