read.sampleInfo: Read a sample information file and format appropriate...

Description Usage Arguments Details Value See Also Examples

View source: R/hiReadsProcessor.R

Description

Given a sample information file, the function checks if it includes required information to process samples present on each sector/quadrant/region/lane. The function also adds other columns required for processing with default values if not already defined ahead of time.

Usage

1
read.sampleInfo(sampleInfoPath = NULL, splitBySector = TRUE)

Arguments

sampleInfoPath

full or relative path to the sample information file, which holds samples to quadrant/lane associations along with other metadata required to trim sequences or process it.

splitBySector

split the data frame into a list by sector column. Default is TRUE.

Details

Value

if splitBySector=TRUE, then an object of SimpleList named by quadrant/lane information defined in sampleInfo file, else a dataframe.

See Also

read.SeqFolder, findBarcodes, splitByBarcode

Examples

1
2
3
4
 
runData <- system.file(file.path("extdata", "FLX_sample_run"), 
package = "hiReadsProcessor")
read.sampleInfo(file.path(runData, "sampleInfo.xlsx"))

hiReadsProcessor documentation built on Nov. 8, 2020, 5:43 p.m.