Access sem matrix from a SNPEffectMatrix object
Source:R/AllGenerics.R
, R/methods-SNPEffectMatrix.R
sem.Rd
Access sem matrix from a SNPEffectMatrix object
Examples
## Create example SEM
df <- data.frame(A=c(1, 2, 3),
C=c(1, 2, 3),
G=c(1, 2, 3),
T=c(1, 2, 3))
s <- SNPEffectMatrix(df, 1.205, "motif_id")
## Access count matrix
sem(s)
#> A C G T
#> <num> <num> <num> <num>
#> 1: 1 1 1 1
#> 2: 2 2 2 2
#> 3: 3 3 3 3