Learn R Programming

XGR (version 1.1.7)

xVisKernels: Function to visualise distance kernel functions

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 \(\lambda\).

Usage

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

See Also

xSNP2nGenes

Examples

Run this code
# NOT RUN {
# visualise distance kernels
xVisKernels(exponent=2)
xVisKernels(exponent=3)
# }

Run the code above in your browser using DataLab