Skip to content

Commit

Permalink
Merge pull request #1 from andrewjUTSW/dev
Browse files Browse the repository at this point in the history
Bug for FineCellstoCheck, adding unique() to return just the previous…
  • Loading branch information
andrewjUTSW authored Aug 12, 2022
2 parents f4d7757 + 005007b commit 56da2cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/CELESTA_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -1440,9 +1440,9 @@ FindCellsToCheck <- function(current_cell_type_assignment,
previous_level_type <- unique(lineage_info$Previous_cell_type[which(
lineage_info$Round == round
)])
previous_level_round <- lineage_info$Round[which(
previous_level_round <- unique(lineage_info$Round[which(
lineage_info$Cell_type_number == previous_level_type
)]
)])
unassigned_cells <- cell_ID[which(
current_cell_type_assignment[, round] == 0 &
(current_cell_type_assignment[, previous_level_round] ==
Expand Down

0 comments on commit 56da2cf

Please sign in to comment.