Load hap.py results into a happy_compare object using happyR.

read_samplesheet(samplesheet_path, lazy = TRUE)

Arguments

samplesheet_path

Path to a happyCompare samplesheet. Required fields: Group.Id, Sample.Id, Replicate.Id, happy_prefix.

lazy

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

Value

A happy_compare object, with the following fields:

  • samplesheet: the original samplesheet, stored as a data.frame.

  • happy_results: a happy_result_list object that contains individual happy_result objects as defined in happyR.

  • ids: a vector of unique identifiers for each result.

Examples

# NOT RUN { happy_compare <- read_samplesheet(samplesheet_path = 'happyCompare_samplesheet.csv') # }