caravagnalab / rcongas

rcongas
GNU General Public License v3.0
7 stars 1 forks source link

get_clusters(congas_example) #12

Closed caravagn closed 1 year ago

caravagn commented 3 years ago

With the default object the above command files.

> get_clusters(congas_example)
 Error in `$<-.data.frame`(`*tmp*`, cell, value = c("AAACCTGTCGACAGCC-1",  : 
  replacement has 503 rows, data has 504 

The error comes from

  z_nk$cell = names(best_model$parameters$assignement)

because there is 1 extra row in z_nk compared to assignments.