Description Usage Arguments Value Examples
make a confusion matrix of query data by ZSL with consensus manner
1 2 | predict_cell(iscell, query, simthr = Inf, gn_overlap_thr = 0.5,
R_output = TRUE)
|
iscell |
attribute set |
query |
signature object of query (the result of create_signature) |
simthr |
default simthreshold for prediction (default: Inf -> considers only simthr in attribute set) |
gn_overlap_thr |
minimum gene overlap ratio of attribute in attribute set between query data |
R_output |
TRUE if the result of the function should be R object. FALSE if the result of the function should be julia object |
a confusion matrix of prediction result
row: query cell type or cluster name
column: cell types in side-information (from query)
first column: unassign count
1 2 3 4 5 6 7 | d <- make_input(matrix, train = TRUE)
w2v <- make_w2v("Pubmed_index")
annot <- make_cellontology("cell ontology file")
stopwords <- make_stopwords(stopwords)
signature <- create_signature("user", "Heart", d$norm_matirx, d$rowname, d$cellname, annot, "cell_ontology", w2v_index = TRUE)
confusion <- predict_cell(att_set, signature)
- att_set: pre-existing attribute set
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.