interpolate_gene: interpolate_gene

View source: R/meth_analysis.R

interpolate_geneR Documentation

interpolate_gene

Description

Build a interpolated signal of differential methylation value for a gene.

Usage

interpolate_gene(vec, meth_probe_pos, xf, tss, updwn_str, slide)

Arguments

vec

A numeric vector specifying differential methylation signal.

meth_probe_pos

is a vector of probes position on the chromosome.

xf

coordinates of interpolation

tss

the transcription start site on the same chromosome.

updwn_str

is the width of the window on the chromosome in bp where the function will fetch probes position and differential methylation value, default is 5000.

slide

is the maximum width slide you'll alow when comparing two curve, default is 0.


magrichard/dmprocr documentation built on July 21, 2023, 11:01 p.m.