Access the SEM from a SNPEffectMatrix object
Source:R/AllGenerics.R
, R/methods-SNPEffectMatrix.R
getSEM.Rd
Access the SEM from a SNPEffectMatrix object
Examples
# Isolate a single SNPEffectMatrix object from the default
# SNPEffectMatrixCollection
sm <- getSEMs(SEMC)[[1]]
# Access the matrix
getSEM(sm)
#> A C G T
#> <num> <num> <num> <num>
#> 1: -1.093659 -0.228215 -0.035353 -0.949757
#> 2: -1.198571 0.019236 -1.057251 -1.145949
#> 3: -1.021307 0.008023 -1.273623 -0.746918
#> 4: -0.808380 -0.281746 -0.849156 0.093359
#> 5: -0.319849 -0.071797 -0.058358 -0.085237
#> 6: 0.119797 -0.640756 -0.336054 -0.787809
#> 7: -0.496324 -1.111405 0.034943 -0.894114
#> 8: -1.069881 -1.178852 0.005380 -1.079589
#> 9: -0.957910 -0.095025 -0.061232 -1.025970
#> 10: -0.147762 -0.046611 -0.308033 -0.113474