Description Usage Arguments Value See Also Examples
The function performs cell type identity prediction based on 'guilt by association' using cross validation. Performance is evaluated by calculating the AUROC for each cell type.
1 2 3 4 5 6 7 | neighborVoting(
exp_labels,
cell_labels,
network,
means = TRUE,
node_degree_normalization = TRUE
)
|
exp_labels |
A vector that indicates the dataset source of each sample |
cell_labels |
sample by cell type matrix that indicates the cell type of each sample (0-absent; 1-present) |
network |
sample by sample adjacency matrix, ranked and standardized between 0-1 |
means |
default |
node_degree_normalization |
default |
If means = TRUE
(default) a vector containing the mean of
AUROC values across cross-validation folds will be returned. If FALSE a list
is returned containing a cell type by dataset matrix of AUROC scores, for
each fold of cross-validation. Default is over-ridden when more than one cell
type is assessed.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.