Closed epurdom closed 4 years ago
There appears to be a variable meta in splines_kmeans_score_and_label that is not defined:
meta
splines_kmeans_score_and_label
I think this is left over from some change in code, but I don't actually see how to fix it, since the user doesn't pass a moanin_model object...
moanin_model
splines_kmeans_score_and_label = function(data, kmeans_clusters, percentage_genes_to_label=0.5, max_score=NULL, rescale_separately_on=NULL){ n_clusters = dim(kmeans_clusters$centroids)[1] all_scores = matrix(NA, nrow=dim(data)[1], ncol=n_clusters) if(!is.null(rescale_separately_on)){ groups = levels(meta[, rescale_separately_on]) ###<<<<----- HERE }
That's definitely something from an old API, and also something that we don't currently use in the pipeline. I'm going to fix this, as it is useful to reproduce the results of the EPICON paper.
There appears to be a variable
meta
insplines_kmeans_score_and_label
that is not defined:I think this is left over from some change in code, but I don't actually see how to fix it, since the user doesn't pass a
moanin_model
object...