simspec
simspec copied to clipboard
Error in checkna(X) : Missing values found in 'X' when running UMAP after
org2m <- cluster_sim_spectrum(object = org2m, label_tag = "BATCH", cluster_resolution = 0.4, corr_method = "pearson", spectrum_type = "corr_kernel")
The CSS part runs fine to completion and the CSS matrix is populated
Start to do clustering for each sample...
Done clustering of sample embryo.
Done clustering of sample P0.
Done clustering of sample P7.
Done clustering of sample adult.
Finished clustering.
Calculating average profiles of clusters...
Calculating standardized similarities to clusters...
'as(<dgeMatrix>, "dgCMatrix")' is deprecated.
Use 'as(., "CsparseMatrix")' instead.
See help("Deprecated") and help("Matrix-deprecated").
Doing kernel transformation...
Done. Returning results...
Warning: Number of dimensions changing from 82 to 70
Then when I try to plot the results in a UMAP by running the UMAP function,
org2m <- RunUMAP(org2m, reduction = "css", dims = 1:ncol(Embeddings(org2m, "css")))
The following error pops up.
17:26:25 UMAP embedding parameters a = 0.9922 b = 1.112
Found more than one class "dist" in cache; using the first, from namespace 'spam'
Also defined by ‘BiocGenerics’
Error in checkna(X) : Missing values found in 'X'
Do you have the same issue if you use the default spectrum type "corr_ztransform" instead of the current setting "corr_kernel"?