windows: Extract methylation values from tiled genomic windows

View source: R/globalPlots.R

windowsR Documentation

Extract methylation values from tiled genomic windows

Description

Obtain windows of individual smoothed methylation values

Usage

windows(bs.filtered.bsseq = bs.filtered.bsseq, size = 20000, goi = goi)

Arguments

bs.filtered.bsseq

Smoothed bsseq object with a testCovariate in pData

size

The number of bases in the window (default is 2e4, which is 20 Kb)

goi

A BSgenome object of the genome of interest (i.e. "BSgenome.Hsapiens.UCSC.hg38")

Details

windows

Value

A matrix of smoothed individual methylation values


ben-laufer/DMRichR documentation built on Oct. 1, 2023, 7:25 a.m.