-
Notifications
You must be signed in to change notification settings - Fork 5
Error: length of 'dimnames' [2] not equal to array extent #26
Copy link
Copy link
Open
Description
Hello,
I encountered a problem running SampleQC with calc_pairwise_mmds:
sample-level parts of SampleQC:
calculating 3 sample-sample MMDs:
|==========================================================================================================| 100%
clustering samples using MMD values
calculating MDS embedding
Error in dimnames(x) <- dn :
length of 'dimnames' [2] not equal to array extent
In addition: Warning message:
In cmdscale(mmd_mat, k) : only 1 of the first 2 eigenvalues are > 0
Here is my script.
qc_dt <- make_qc_dt(merged_obj@meta.data, sample_var = "sample_id",
qc_names = c("log_counts", "log_feats", "logit_mito"),
annot_vars = "condition") # Till here is fine
qc_obj <- calc_pairwise_mmds(qc_dt, qc_names = c("log_counts", "log_feats", "logit_mito"),
annots_disc = c("cell_id", "sample_id", "condition"),
annots_cont = NULL) # The error occursDo you have any idea about this please? Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels