Access sems matrix from a SNPEffectMatrixCollection object
Source:R/AllGenerics.R
, R/methods-SNPEffectMatrixCollection.R
sems.Rd
Access sems matrix from a SNPEffectMatrixCollection 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")
sc <- SNPEffectMatrixCollection(s)
## Access count matrix
sems(sc)
#> $motif_id
#> An object of class SNPEffectMatrix
#> semId: motif_id
#> baseline: 1.205
#> sem:
#> A C G T
#> <num> <num> <num> <num>
#> 1: 1 1 1 1
#> 2: 2 2 2 2
#> 3: 3 3 3 3
#>