S4 container for a single fine-mapping fit attached to a
FineMappingResult row. One entry corresponds to one
(study, context, trait, method) tuple.
For joint fits (e.g., multi-trait mvSuSiE or fSuSiE), multiple
FineMappingEntry objects in the same FineMappingResult
collection may carry references to the same underlying R fit object
(R's copy-on-modify semantics keep this memory-efficient).
Construct a QtlDataset S4 object containing one
study's individual-level QTL data: a genotype handle and a named list
of SummarizedExperiment objects (one per QTL context), plus
genotype-derived covariates and a residual-scaling flag.
Arguments
- study
Character (length 1). Study identifier.
- genotypes
A
GenotypeHandle.- phenotypes
Named list of
SummarizedExperimentobjects, keyed by context. Each SE must haverowRangescarrying trait positions andcolDatacarrying per-context phenotype covariates.- genotypeCovariates
Numeric matrix of genotype-derived covariates (e.g., ancestry PCs); rows are samples.
- scaleResiduals
Logical (length 1). Default
TRUE.- keepIndel
Logical (length 1). When
FALSE, variants whose alleles are not single nucleotides (indels) are dropped at extraction. DefaultTRUE(keep all variants).
Slots
variantIdsCharacter vector of variant IDs in the fit.
trimmedFitThe method-specific fit object (SuSiE list, mvSuSiE object, fSuSiE object, etc.). May be shared by reference across joint-fit entries.
topLociA long-format
data.framewith at minimumvariant_idandpipcolumns; optionalcs,coverage,betahat,sd,csLog10bf,z.sumstatsA list of summary statistics used in the fit, or
NULL.