tVal {DMRScan}R Documentation

Method get T statistic for a region

Description

Method get T statistic for a region

Get test statistic for an object of type Region

Get test statistic for all regins within a RegionList class

Usage

tVal(region, ...)

## S4 method for signature 'Region'
tVal(region, index = NULL)

## S4 method for signature 'RegionList'
tVal(region, index = NULL)

Arguments

region

An opbject of type Region or RegionList

...

Index

index

Index to extract

Value

A numeric vector of t-values for a Region or RegionList

Examples

#Number of probes is n = 10
nCpG <- 10
region <- Region(tValues    = rnorm(nCpG),
                 position   = 1:nCpG,
                 chromosome = "3")
## T values for Region
tVal(region)


[Package DMRScan version 1.4.6 Index]