You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(symphony)
# For the sake of an easy to get a `query` object
rmarkdown::render('vignettes/quickstart_tutorial.Rmd')
labels = sample(1:5, size = nrow(query$meta_data), replace = TRUE)
calcPerClusterMappingMetric(reference, query, query_cluster_labels = labels)
Calculating mapping confidence for 6 query clusters
Error in base::rowMeans(x, na.rm = na.rm, dims = dims, ...) :
'x' must be an array of at least two dimensions
The PCA matrix is subset with an arbitrary index, and if the index has length one, R "helpfully" coerces it to a vector. Issue arises regardless of the value of u.
amcdavid
changed the title
Need drop=FALSE for singleton query_cluster_labels
calcPerClusterMappingMetric fails with singleton query_cluster_labels
Dec 5, 2022
calcPerClusterMappingMetric
works with typical data.The PCA matrix is subset with an arbitrary index, and if the index has length one, R "helpfully" coerces it to a vector. Issue arises regardless of the value of
u
.symphony/R/confidenceScores.R
Line 83 in d9d50dc
The text was updated successfully, but these errors were encountered: