Description Usage Arguments Value Warning Examples
The functions described here are convenience functions to get
information out of a tskrr object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## S4 method for signature 'tskrr'
response(x, ...)
## S4 method for signature 'tskrrHomogeneous'
lambda(x)
## S4 method for signature 'tskrrHeterogeneous'
lambda(x)
is_tskrr(x)
is_homogeneous(x)
is_heterogeneous(x)
symmetry(x)
get_eigen(x, which = c("row", "column"))
get_kernelmatrix(x, which = c("row", "column"))
has_hat(x)
get_kernel(x, which = c("row", "column"))
|
x |
a |
... |
arguments passed to other methods. |
which |
a character value indicating whether the eigen decomposition for the row kernel matrix or the column kernel matrix should be returned. |
For response: the original label matrix
For lambda: a named numeric vector with one resp both lambda
values used in the model. The names are "k" and "g" respectively.
For is_tskrr a logical value indicating whether the
object is a tskrr object
For is_homogeneous a logical value indicating whether the
tskrr model is a homogeneous one.
For is_heterogeneous a logical value indicating whether the
tskrr model is a heterogeneous one.
For symmetry a character value indicating the symmetry
for a homogeneous model. If
the model is not homogeneous, NA is returned.
For get_eigen the eigen decomposition of the requested
kernel matrix.
For get_kernelmatrix the original kernel matrix
for the rows or columns.
For has_hat a logical value indicating whether
the tskrr model contains the kernel hat matrices.
The function get_kernel is deprecated.
Use get_kernelmatrix instead.
1 2 3 4 5 6 7 8 | data(drugtarget)
mod <- tskrr(drugTargetInteraction, targetSim, drugSim)
is_homogeneous(mod)
EigR <- get_eigen(mod)
EigC <- get_eigen(mod, which = 'column')
lambda(mod)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.