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