LogisticRegression | R Documentation |
The function implements a script that downsamples data a dataset, trains a logistic regression classifier model and then projects its clustering onto itself using a trained L1-regularized logistic regression model.
LogisticRegression( training.sparse.matrix = NULL, training.ident = NULL, C = 0.3, reg.type = "L1", test.sparse.matrix = NULL, d = 0.3 )
training.sparse.matrix |
A sparse matrix (dgCMatrix) containing training
sample's gene expression data with genes in rows and cells in columns.
Default is |
training.ident |
A named factor containing sample's cluster labels for
each cell in training.sparse.matrix. Default is |
C |
Cost of constraints violation in L1-regularized logistic
regression (C). Default is |
reg.type |
"L1" for LASSO and "L2" for Ridge. Default is "L1". |
test.sparse.matrix |
A sparse matrix (dgCMatrix) containing test
sample's gene expression data with genes in rows and cells in columns.
Default is |
d |
A numeric smaller than |
a list containing the output of the LiblineaR prediction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.