nni | R Documentation |
Wrapper function for imputation methods based on nearest neighbour clustering. Currently llsImpute only.
nni(object, method = c("llsImpute"), subset = numeric(), ...)
object |
Numerical matrix with (or an object coercible to
such) with samples in rows and variables as columns. Also takes
|
method |
For convenience one can pass a large matrix but only use the variable specified as subset. Can be colnames or indices. |
subset |
Currently "llsImpute" only. |
... |
Further arguments to the chosen method. |
This method is wrapper function to llsImpute, See documentation
for link{llsImpute}
.
A clusterRes
object. Or a list containing a
clusterRes object as first and an ExpressionSet object as second
entry if the input was of type ExpressionSet.
Wolfram Stacklies
llsImpute
, pca
data(metaboliteData)
llsRes <- nni(metaboliteData, k=6, method="llsImpute", allGenes=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.