Construct an AnnotationMatrix from a matrix and metadata.
Usage
AnnotationMatrix(annotations, snp_ranges, annotation_meta, genome = "hg19")
Arguments
- annotations
A numeric matrix or sparse matrix (SNPs x annotations).
- snp_ranges
A GRanges object with SNP positions.
- annotation_meta
A data.frame with columns: name, tier, type.
- genome
Character, genome build.
Value
An AnnotationMatrix object.