kangar00 (version 1.0)

kernel-class: An S4 class representing a kernel matrix calculated for a pathway

Description

An S4 class representing a kernel matrix calculated for a pathway

show displays the kernel object briefly

summary generates a kernel object summary including the number of individuals and genes for the pathway

plot creates an image plot of a kernel object

Usage

# S4 method for kernel
show(object)

# S4 method for kernel summary(object)

# S4 method for kernel,missing plot(x, y = NA, hclust = FALSE, ...)

Arguments

object

An object of class kernel

x

the kernel object to be plotted.

y

missing (placeholder).

hclust

logical, indicating whether a dendrogram should be added.

...

further arguments to be passed to the function.

Slots

type

A character representing the kernel type: Use 'lin' for linear kernel, 'sia' for the size-adjusted or 'net' for the network-based kernel.

kernel

A kernel matrix of dimension equal to the number of individuals

pathway

A pathway object

Examples

Run this code
# NOT RUN {
data(net.kernel.hsa04020)
show(net.kernel.hsa04020)
summary(net.kernel.hsa04020)
plot(net.kernel.hsa04020)
# }

Run the code above in your browser using DataCamp Workspace