Description Usage Arguments Value Accessor-like methods Accessor-like methods Author(s) References
ExplicitRepresentation Accessors
1 2 3 4 5 6 7 8 9 10 | ## S4 methods for signature 'ExplicitRepresentation'
## x[i,j]
## further methods see below
## S4 method for signature 'matrix,dgRMatrix'
x %*% y
## S4 method for signature 'dgRMatrix,numeric'
x %*% y
|
x |
an explicit representation in dense or sparse format |
i |
integer vector or character vector with a subset of the sample indices or names |
y |
in the first case and explicit representation and |
j |
integer vector or character vector with a subset of the feature indices or names |
see details above
x[i,]
:
return a KernelMatrix
object that only contains the rows selected
with the subsetting parameter i
. This parameter can be a numeric
vector with indices or a character vector which is matched against the
names of x
.
x[,j]
:
return a KernelMatrix
object that only contains the columns
selected with the subsetting parameter j
. This parameter can be a
numeric vector with indices or a character vector which is matched against
the names of x
.
x[i,j]
:
return a KernelMatrix
object that only contains the rows selected
with the subsetting parameter i
and columns selected by j
.
Both parameters can be a numeric vector with indices or a character vector
which is matched against the names of x
.
%*%
:
this function provides the multiplication of a dgRMatrix
or
a sparse explicit representation (which is derived from dgRMatrix
)
with a matrix or a vector. This functionality is not available in package
Matrix for a dgRMatrix
.
Johannes Palme <kebabs@bioinf.jku.at>
http://www.bioinf.jku.at/software/kebabs
J. Palme, S. Hochreiter, and U. Bodenhofer (2015) KeBABS: an R package
for kernel-based analysis of biological sequences.
Bioinformatics, 31(15):2574-2576, 2015.
DOI: 10.1093/bioinformatics/btv176.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.