yanwu2014 / swne

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

Formatting issue in error message #9

Closed TomKellyGenetics closed 6 years ago

TomKellyGenetics commented 6 years ago

Formatting issue in error message when calling EmbedSWNE with dist.metric = "correlation":

swne_embedding <- EmbedSWNE(nmf.scores, snn, alpha.exp = alpha.exp, snn.exp = snn.exp,

  • n_pull = n_pull, dist.use = dist.metric) Error in get_factor_coords(H.smooth, method = proj.method, pca.red = pca.red, : Distance must be one of: pearsonDistance must be one of: ICDistance must be one of: cosineDistance must be one of: euclidean
yanwu2014 commented 6 years ago

Thanks! Should be fixed now!