# HG changeset patch # User lecorguille # Date 1447422191 18000 # Node ID 36fc0a87d7fb1b2a32b2aa93ef9dd7fe8ecceebc # Parent 2f7381ee5235df3ba162d580f048e263c437890c planemo upload diff -r 2f7381ee5235 -r 36fc0a87d7fb Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Fri Nov 13 08:43:11 2015 -0500 @@ -0,0 +1,23 @@ +# USAGE: make [install|clean] + +# -------- VARIABLE -------- + +OBJ=hclustering.tgz +DEP=abims_hclustering.r abims_hclustering.xml static + + +# ------------------------ + +all: $(OBJ) + +$(OBJ): $(DEP) + tar --exclude=".svn" -zchf $@ $^ + +# ------------------------ + +install: $(OBJ) + mv *.tgz ~ + +clean: + rm *.tgz + diff -r 2f7381ee5235 -r 36fc0a87d7fb abims_hclustering.r --- a/abims_hclustering.r Tue Jun 30 06:36:09 2015 -0400 +++ b/abims_hclustering.r Fri Nov 13 08:43:11 2015 -0500 @@ -21,10 +21,23 @@ # -- Normalization: logratio -- if (normalization) { - #meandata = apply(data,1,mean, na.rm=T) - #data = log2(data/meandata) - data=t(scale(t(data))) + #meandata = apply(data,1,mean, na.rm=T) + #data = log2(data/meandata) + data=t(scale(t(data))) + + #AMAP: Unable to compute Hierarchical Clustering: missing values in distance matrix + #Erreur dans hcluster(x, method = method, link = link) : + # Missing values in distance Matrix + #Calls: do.call -> -> hclust2treeview -> hcluster + #Exécution arrêtée + data[is.nan(data)] = 0 } + + #Erreur dans `[.default`(xj, i) : + # les indices négatifs ne peuvent être mélangés qu'à des 0 + #Calls: do.call ... r2cdt -> [ -> [.data.frame -> [ -> [.factor -> NextMethod + #Exécution arrêtée + data = data[!apply(data,1,sum)==0,] # -- hclust / output files for TreeView -- file="hclust.cdt" diff -r 2f7381ee5235 -r 36fc0a87d7fb abims_hclustering.xml --- a/abims_hclustering.xml Tue Jun 30 06:36:09 2015 -0400 +++ b/abims_hclustering.xml Fri Nov 13 08:43:11 2015 -0500 @@ -1,10 +1,10 @@ - + using ctc R package for java-treeview - - abims_hclustering.r file "$input" method $method link $link keep.hclust FALSE normalization $normalization sep "$sep" dec "$dec" - + @@ -50,14 +50,14 @@ - + - + - +]]> diff -r 2f7381ee5235 -r 36fc0a87d7fb static/images/anova_filtered.png Binary file static/images/anova_filtered.png has changed diff -r 2f7381ee5235 -r 36fc0a87d7fb static/images/anova_pvalue.png Binary file static/images/anova_pvalue.png has changed diff -r 2f7381ee5235 -r 36fc0a87d7fb static/images/pca_abims_Rplots.png Binary file static/images/pca_abims_Rplots.png has changed diff -r 2f7381ee5235 -r 36fc0a87d7fb static/images/pca_abims_Rplots1.png Binary file static/images/pca_abims_Rplots1.png has changed diff -r 2f7381ee5235 -r 36fc0a87d7fb static/images/pca_abims_eigenvalue.png Binary file static/images/pca_abims_eigenvalue.png has changed diff -r 2f7381ee5235 -r 36fc0a87d7fb static/images/pca_abims_percentage_of_variance.png Binary file static/images/pca_abims_percentage_of_variance.png has changed