Open SamGG opened 8 years ago
@SamGG It seems that when in driver .R to call FCSToTree function, it would call SPADE.cluster function and then call Rclusterpp.hcluster function. In Rclusterpp.hcluster, the default parameter is
Rclusterpp.hclust <- function(x, method="ward", members=NULL, distance="euclidean", p=2)
which means the distance is Euclidean.
But I'm wondering why does SPADE compute the Manhattan distance when it compute density and upsampling, while use Euclidean distance and 'Ward' method when it h-clusters. I don't know the reason to use Manhattan.
Hi, When SPADE switches from the original clustering (cluster.cc) to the Rcppcluster one, it seems that the distance changed from Manhattan to Euclidean also. What is the rational? Best.