Skip to contents

Access baseline from a SNPEffectMatrix object

Usage

baseline(x)

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

Arguments

x

SNPEffectMatrix object

Value

The numeric baseline value is returned

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
baseline(s)
#> [1] 1.205