changeset 4:2152f424e7a2 draft default tip

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/Ecoregionalization_workflow commit c41939f1cdc03331ec021d47495576a6b0c5fd14
author ecology
date Wed, 16 Oct 2024 11:46:35 +0000
parents 18c4cd785a74
children
files cluster_ceamarc.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cluster_ceamarc.R	Wed Sep 11 09:20:14 2024 +0000
+++ b/cluster_ceamarc.R	Wed Oct 16 11:46:35 2024 +0000
@@ -41,7 +41,7 @@
 
 clus <- cbind(data.bio[1:nrow(test3), 1:2],test5$clustering)
 names(clus) <- c("lat", "long", "cluster")
-clus <- cbind(clus,test3,env.data[,3:19])
+clus <- cbind(clus,test3,env.data[,3:ncol(env.data)])
 
 write.table(clus[1:3], file = "points_clus.tsv", quote = FALSE, sep="\t", row.names = FALSE)
 write.table(clus, file = "clus.tsv", quote = FALSE, sep="\t", row.names = FALSE)