getContext {methylKit} | R Documentation

## get the context of methylation

### Description

The function returns the context of methylation. For example: "CpG","CHH" or "CHG"

### Usage

    getContext(x)

    ## S4 method for signature 'methylBase'
    getContext(x)

    ## S4 method for signature 'methylRaw'
    getContext(x)

    ## S4 method for signature 'methylDiff'
    getContext(x)

    ## S4 method for signature 'methylRawDB'
    getContext(x)

    ## S4 method for signature 'methylBaseDB'
    getContext(x)

    ## S4 method for signature 'methylDiffDB'
    getContext(x)

### Arguments

`x` | an `methylBase`,`methylBaseDB`, `methylRaw`,`methylRawDB` or an `methylDiff` object

### Value

a string for the context methylation

### Examples

    data(methylKit)

    getContext(methylBase.obj)
    getContext(methylDiff.obj)
    getContext(methylRawList.obj[[1]])

[Package methylKit version 1.14.2 Index]