Description Usage Arguments Value
View source: R/kknn-functions.R
Impute results for a specific gene or cell using kknn
1 2 | kknnImpute(id, simData.learn, simData.test, kmaxParam = 40,
mixedSpeciesData = FALSE, predicted = FALSE)
|
id |
string for the cell or gene to impute, must be a column name in the data |
simData.learn |
training data as data.frame |
simData.test |
testing data, for predictions, as data.frame |
kmaxParam |
integer specifying the maximum number of neighbors to consider for training data |
mixedSpeciesData |
TRUE/FALSE depending on whether the data belongs to the mixed species experiment. If TRUE, additional measures are included for analysis |
data.frame containing results of the simulation mean squared error, Spearman correlation, optimal parameters for kknn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.