read_samplesheet_: Load hap.py results from a samplesheet dataframe

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 dataframe.

Usage

1
read_samplesheet_(samplesheet, lazy = TRUE)

Arguments

samplesheet

A happyR samplesheet (data.frame). 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: 
samplesheet_df <- tibble::tribble(
  ~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 = samplesheet_df)

## End(Not run)

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