Skip to content

Commit

Permalink
Update markovProbability.R
Browse files Browse the repository at this point in the history
add the default value of terminal_state
  • Loading branch information
Jiawei-Yu10 committed Dec 12, 2024
1 parent 10120b7 commit a04caaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/markovProbability.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#' @importFrom SummarizedExperiment colData<-
#' @export
markovProbability <- function(
milo, diffusionmap, terminal_state, root_cell, knn = 30L,
milo, diffusionmap, terminal_state = NULL, root_cell, knn = 30L,
diffusiontime = NULL, pseudotime_key = "pseudotime", scale_components = TRUE,
num_waypoints = 500) {
if (is.null(milo[[pseudotime_key]])) {
Expand Down

0 comments on commit a04caaf

Please sign in to comment.