Skip to contents

Access the SEM from a SNPEffectMatrix object

Usage

getSEM(x)

# S4 method for class 'SNPEffectMatrix'
getSEM(x)

Arguments

x

SNPEffectMatrix object

Value

A position (rows) by nucleic acid (columns) data.table is returned

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