-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hello,
I am following the steps in the tutorial and I was able to get an output for the kBET() function on my dataset. I'm running into some issues in the subsequent functions:
batch.silhouette <- batch_sil(pca.data, meta$sample_id)
Error in silhouette.default(as.numeric(batch), dd) :
clustering 'x' and dissimilarity 'dist' are incompatible
batch.pca <- pcRegression(pca.data, meta$sample_id)
Error in model.frame.default(formula = rot.data ~ batch, drop.unused.levels = TRUE) :
variable lengths differ (found for 'batch')
I'm using the same data and batch variables I used in the kBET() function. Any thoughts of what might be going wrong and how I can fix this ? Thanks a lot.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels