xVisKernels: Function to visualise distance kernel functions

Description Usage Arguments Value Note See Also Examples

View source: R/xVisKernels.r

Description

xVisKernels is supposed to visualise distance kernels, each of which is a decaying function of: i) the relative distance d_{gs} between the gene g and the SNP s, and ii) the decay exponent λ.

Usage

1
xVisKernels(exponent = 2, newpage = T)

Arguments

exponent

an integer specifying decay exponent. By default, it sets to 2

newpage

logical to indicate whether to open a new page. By default, it sets to true for opening a new page

Value

invisible

Note

There are five kernels that are currently supported:

See Also

xSNP2nGenes

Examples

1
2
3
# visualise distance kernels
xVisKernels(exponent=2)
xVisKernels(exponent=3)

XGR documentation built on Jan. 8, 2020, 5:06 p.m.

Related to xVisKernels in XGR...