yanwu2014 / swne

Similarity Weighted Nonnegative Embedding (SWNE), a method for visualizing high dimensional datasets
BSD 3-Clause "New" or "Revised" License
104 stars 20 forks source link

hemato_swne_pseudotime_plot fail to function #32

Open georgewu1999 opened 3 years ago

georgewu1999 commented 3 years ago

In reproducing the figure from the script:

pseudotime <- cds$Pseudotime; names(pseudotime) <- colnames(cds@reducedDimS);

pdf("hemato_swne_pseudotime_plot.pdf", width = 6, height = 5) FeaturePlotSWNE(swne.embedding, pseudotime, alpha.plot = 0.4, label.size = 3.5, pt.size = 1.5) Error in quantile.default(feature.scores, probs = quantiles) : missing values and NaN's not allowed if 'na.rm' is FALSE

While other parts of the scripts worked well, the function failed. Is it possibly due to some bugs in the script? Thanks.