Read genomic annotations from files (BED, BigWig, S-LDSC .annot format, or GRanges objects) and create an AnnotationMatrix.
Usage
readAnnotations(
paths,
snp_ranges,
annotation_meta = NULL,
genome = "hg19",
...
)
# S4 method for class 'character'
readAnnotations(
paths,
snp_ranges,
annotation_meta = NULL,
genome = "hg19",
...
)Arguments
- paths
Named character vector of file paths, or a named list of GRanges objects. Names become annotation names.
- snp_ranges
A
GRangesobject defining SNP positions.- annotation_meta
A
data.framewith annotation metadata (name, tier, type). If NULL, auto-detected from file format.- genome
Character, genome build.
- ...
Additional arguments.