Description Usage Arguments Value Examples
Assess the effect of a SNP using a Trena object
| 1 2 3 | ## S4 method for signature 'Trena'
assessSnp(obj, pfms, variant, shoulder,
  pwmMatchMinimumAsPercentage, relaxedMatchDelta = 25)
 | 
| obj | An object of class Trena | 
| pfms | A set of motif matrices, generally retrieved using MotifDb | 
| variant | A variant of interest | 
| shoulder | A distance from the TSS to use as a window | 
| pwmMatchMinimumAsPercentage | A minimum match percentage for the motifs | 
| relaxedMatchDelta | A numeric indicating the degree of the match (default = 25) | 
A data frame containing the gene model
| 1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run: 
# Create a Trena object for human, assign a variant, then assess the effects of the variant
trena <- Trena("hg38")
library(MotifDb)
jaspar.human.pfms <- as.list(query(query(MotifDb, "jaspar2016"), "sapiens"))[21:25]
variant <- "rs3875089" # chr18:26865469  T->C
tbl <- assessSnp(trena, jaspar.human.pfms, variant, shoulder = 3,
pwmMatchMinimumAsPercentage = 65)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.