read_samplesheet: Load hap.py results from a samplesheet csv

Description Usage Arguments Value Examples

View source: R/input.R

Description

Load multiple hap.py results into a happy_samplesheet object starting from a samplesheet csv.

Usage

1
read_samplesheet(samplesheet_path, lazy = TRUE)

Arguments

samplesheet_path

Path to samplesheet.csv. Required fields: replicate_id, happy_prefix.

lazy

Do not load larger hap.py results until needed. Default: TRUE.

Value

A happy_samplesheet object, with the following fields:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
## example happyr_samplesheet.csv
# group_id,replicate_id,happy_prefix
# PCR-Free,NA12878-I30,NA12878-I30_S1
# PCR-Free,NA12878-I33,NA12878-I33_S1
# Nano,NA12878-R1,NA12878-R1_S1
# Nano,NA12878-R2,NA12878-R2_S1

hap_samplesheet <- read_samplesheet(samplesheet_path = 'happyr_samplesheet.csv')

## End(Not run)

Illumina/happyR documentation built on July 12, 2019, 7:57 p.m.