Skip to content

Commit

Permalink
changed name
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-columbiau committed May 11, 2024
1 parent 4073c37 commit 3792db8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Generated by roxygen2: do not edit by hand

export(Classify)
export(Classify_Return_All)
export(CreateEqualTree)
export(CreateHierarchy)
export(FindMarkerGenes)
export(FindMarkerGenes_M2)
export(GetModels)
export(Get_Classification_Probabilities)
importFrom(MASS,lda)
importFrom(MASS,qda)
importFrom(caret,knn3)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#' equal_tree = CreateEqualTree(cell_labels = possible_cell_classes)
#' marker_genes = FindMarkerGenes(ref_bpcells = train_ex_data_bpcells, ref_metadata = train_ex_metadata, tree = equal_tree, metadata_cluster_column = "seurat_annotations", metadata_cell_id_column = "cell_label")
#' models <- GetModels(marker_genes = marker_genes, ref_bpcells = train_ex_data_bpcells, ref_metadata = train_ex_metadata, tree = equal_tree, metadata_cluster_column = "seurat_annotations", metadata_cell_label_column = "cell_label")
#' query_classifications = Classify_Return_All(bpcells_query = test_ex_data_bpcells,models = models,tree_struc = equal_tree)
#' query_classifications = Get_Classification_Probabilities(bpcells_query = test_ex_data_bpcells,models = models,tree_struc = equal_tree)
#'
#'
#'change classify so it gives onfidence score at each level of the hierarchy
Expand All @@ -54,7 +54,7 @@
#
#

Classify_Return_All <- function (bpcells_query, models, tree_struc)
Get_Classification_Probabilities <- function (bpcells_query, models, tree_struc)
{
returned_df = matrix(nrow = 0, ncol = 6) %>% as.data.frame()
colnames(returned_df) = c("cell_id","best_classification",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3792db8

Please sign in to comment.