read_samplesheet_.Rd
Load multiple hap.py results into a happy_samplesheet
object starting from a samplesheet dataframe.
read_samplesheet_(samplesheet, lazy = TRUE)
samplesheet | A |
---|---|
lazy | Do not load larger hap.py results until needed. Default: |
A happy_samplesheet
object, with the following fields:
samplesheet
: the original samplesheet, stored as a data.frame
.
results
: a happy_result_list
that contains individual happy_result
objects.
# 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) # }