net.kernel.hsa04020 | R Documentation |
An example of a kernel object.
data(net.kernel.hsa04020)
An object of class kernel
and type 'network' for the pathway
hsa04020.
specifies which kernel function was used to calculate the kernel
includes the kernel matrix calculated for the pathway
includes the pathway
object of the pathway, for which
the kernel matrix was calculated
simulated data and Ensembl extract
data(net.kernel.hsa04020)
# derivation
data(gwas)
data(hsa04020)
net_kernel <- calc_kernel(gwas, hsa04020, knots=NULL, type='net', calculation='cpu')
# are the value differences smaller than machine epsilon?
all(abs(net.kernel.hsa04020@kernel - net_kernel@kernel) < sqrt(.Machine$double.eps))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.