Hi, apologies in advance about the lengthy post! Tried to include as much information as possible, since I'm not quite sure how to fix this. I have been getting the following error when I tried plotting the inferred trajectories.
> model <- dynwrap::infer_trajectories(dataset, verbose = TRUE,
method = list(ti_slingshot(),
ti_paga(), ti_paga_tree(), ti_raceid_stemid()),
give_priors = c('start_id','end_id'))
> plot_dimred(model)
Error: dynwrap::is_wrapper_with_trajectory(trajectory = trajectory) is not TRUE
When I checked the object model, model$model seems to be empty, with no trajectories being output if I understood this correctly?
Here are the rest of the code I ran prior to running infer_trajectories. In case it matters, the 10X data all.samples was previously processed in Seurat v5 using scTransform v2, R v4.3.3, RStudio Build 524. Any help would be much appreciated!
Hi, apologies in advance about the lengthy post! Tried to include as much information as possible, since I'm not quite sure how to fix this. I have been getting the following error when I tried plotting the inferred trajectories.
When I checked the object
model
,model$model
seems to be empty, with no trajectories being output if I understood this correctly?I'm not quite sure what went wrong, as I could run infer_trajectories without any errors (via containers).
Here are the rest of the code I ran prior to running
infer_trajectories
. In case it matters, the 10X dataall.samples
was previously processed in Seurat v5 using scTransform v2, R v4.3.3, RStudio Build 524. Any help would be much appreciated!