moi-taiga / PathPinpointR

A method of identifying the position of a sample upon a trajectory.
Other
0 stars 0 forks source link

ppr_accuracy_test only works with full reference. #17

Closed moi-taiga closed 5 months ago

moi-taiga commented 6 months ago

Mole21a_accuracy <- ppr_accuracy_test(Mole21a_ppr, sce, plot = TRUE) Error in $<-.data.frame(*tmp*, "predicted_timeIDX", value = c(62L, : replacement has 66 rows, data has 798

accuracy isn't working for smaller subsets of reference.

moi-taiga commented 6 months ago

I belive this is fixed, needs testing.

moi-taiga commented 5 months ago

accuracy_test(samples_ppr[[1]], sce, plot = TRUE) Error in seq.default(0, max(accuracy$inaccuracy), by = 1) : 'to' must be a finite number

Not Fixed.

moi-taiga commented 5 months ago

Fixed :)