Skip to contents

Bundles the in-memory outputs of the S-LDSC readers into a single object for sldscPostprocessingPipeline. Performs no file I/O.

Usage

SldscData(annot, frq = NULL, traits = list())

# S4 method for class 'SldscData'
show(object)

Arguments

annot

A target-annotation data.frame (e.g. from readSldscAnnot): CHR, SNP, and one or more annotation columns.

frq

Optional reference-panel allele-frequency data.frame (e.g. from readSldscFrq): SNP, MAF. NULL (the default) stores an empty frame, which disables MAF-based filtering.

traits

A named list of per-trait runs; each entry a list with a single list (per-target readSldscTrait outputs) and an optional joint run.

Value

An SldscData object.