Skip to contents

Constructs a SemplScores class object.

Usage

SemplScores(variants = NULL, semData = NULL, scores = NULL)

Arguments

variants

A VRanges object to hold one or more variants

semData

A named list of SNPEffectMatrix objects

scores

(optional) A data.table object for motif information and binding scores

Value

a SemplScores object

Examples

# load default SEMs
data(sc)

# create a VRanges object
vr <- VariantAnnotation::VRanges(seqnames = c("chr12", "chr19"),
                                 ranges = c(94136009, 10640062), 
                                 ref = c("G", "T"), alt = c("C", "A"))

SemplScores(variants = vr, semData = semData(sc))
#> An object of class SemplScores
#> variants(2): chr12:94136009:G>C, chr19:10640062:T>A
#> semData(13): transcription_factor, ensembl_id,  ... , PWM_source, SEM_KEY
#> scores(0):