Description Usage Arguments Value Examples
Function to obtain accuracy parameters: correlation coefficient, P-value and RMSE of imputation model
1 2 | imirage.cv(train_pcg, train_mir, gene_index, num = 50, method = "KNN",
folds = 10, target = "none", ...)
|
train_pcg |
training protein coding dataset. a numeric matrix with row names indicating samples, anSed column names indicating protein coding gene IDs. |
train_mir |
training miRNA expression dataset. a numeric matrix with row names indicating samples, and column names indicating miRNA IDs |
gene_index |
either gene name (character) or index (column number) of miRNA to be imputed. |
num |
number of informative protein coding genes to be used in constructing imputation model. Default is 50 genes. |
method |
method for imputation, either "RF" for random forests, "KNN" for K-nearest neighbor or "SVM" for support vector machines. |
folds |
number specifying folds (k) of cross validation to obtain imputation accuracy. Default is k=10. |
target |
"none" (default), "ts.pairs", or dataframe/matrix/list. this argument accepts character strings to indicate the use of all candidate genes as predictors ("none), or use built-in TargetScan miRNA-gene pairs ("ts.pairs"). also accepts a dataframe , matrix or list object containing a column with names of miRNA and a column with the names of target genes. |
... |
optional parameters that can be passed on to the machine-learning functions RF (randomForest), KNN (knn.reg) or SVM(svm) |
a matrix with three values corresponding to Spearman's correlation coefficient, P-value of the fit and root mean squared error (RMSE).
1 2 3 | data(iMIRAGE.datasets)
imirage.cv(GA.pcg, GA.mir, gene_index="hsa-let-7c", method="KNN", num=50)
imirage.cv(GA.pcg, GA.mir, gene_index=25, method="KNN", num=50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.