Changeset 858
- Timestamp:
- Dec 2, 2008, 4:33:59 PM (15 years ago)
- Location:
- plugins/base1/se.lu.thep.wenni/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/base1/se.lu.thep.wenni/trunk/INSTALL
r856 r858 190 190 $ make install-plugin 191 191 }}} 192 If you prefer to install the plug-in manually you must place 193 `nni`, `WeNNI.jar`, and `PluginUtilities-0.1pre.jar` in the same 194 installation directory. 195 [[br]] [[br]] 192 196 Note! `make install` will install in location `${exec_prefix}/bin` 193 which may be something else than theBASE plugin directory.197 which may be something else than your BASE plugin directory. 194 198 195 199 6. Make BASE2 aware of the plugin, see BASE2 documentation 196 http://base.thep.lu.se/chrome/site/doc/html/index.html 200 http://base.thep.lu.se/chrome/site/doc/html/index.html and use 201 the below information with appropriate change of Path 202 {{{ 203 Class: se.lu.thep.wenni.WeNNI 204 Path : /path/to/base/pluginsse/lu/thep/wenni-0.7/WeNNI.jar 205 }}} 206 Path should be the absolute path to the WeNNI.jar file. 197 207 198 208 -
plugins/base1/se.lu.thep.wenni/trunk/base/base2/Makefile.am
r856 r858 25 25 SUBDIR = se/lu/thep/wenni 26 26 BUILDDIR = $(TOPBUILDDIR)/$(SUBDIR) 27 MANIFEST_FILE = "$(TOPBUILDDIR)/META-INF/MANIFEST.MF" 27 28 28 29 JAVA = WeNNI.java … … 53 54 $(INSTALL) "$(PLUGINutilities)/$(PLUGINutilities).jar" "$(PLUGINDIR)" 54 55 55 $(JAR): $(BUILDDIR) $(PLUGINutilities) $(DOWNLOADDEP) $(CLASS) 56 $(JAR): $(BUILDDIR) $(PLUGINutilities) $(DOWNLOADDEP) $(CLASS) manifest 56 57 @echo Creating $(JAR) 57 @(cd $(TOPBUILDDIR) ; \ 58 jar cf ../$(JAR) $(SUBDIR)/*.class) 58 @(cd $(TOPBUILDDIR) ; jar cf ../$(JAR) .) 59 60 manifest: $(TOPBUILDDIR) 61 @$(MKDIR_P) $(TOPBUILDDIR)/META-INF 62 @echo "Manifest-Version: 1.0" > "$(MANIFEST_FILE)" 63 @echo "Class-Path: $(PLUGINutilities).jar" >> $(MANIFEST_FILE) 59 64 60 65 $(BUILDDIR)/$(JAVA): $(srcdir)/$(JAVA) Makefile … … 65 70 66 71 $(BUILDDIR): 72 @$(MKDIR_P) $@ 73 74 $(TOPBUILDDIR): 67 75 @$(MKDIR_P) $@ 68 76 -
plugins/base1/se.lu.thep.wenni/trunk/base/base2/WeNNI.java
r844 r858 3 3 4 4 Copyright (C) 2007 Peter Johansson 5 Copyright (C) 2008 Jari Häkkinen 5 6 6 This file is part of BASEPlugIns - Non-core plug-ins for BASE, 7 BioArray Software Environment. 8 BASEPlugIns is available at http://baseplugins.thep.lu.se/ 9 BASE is available at http://base.thep.lu.se/ 7 This file is part of WeNNI, 8 http://baseplugins.thep.lu.se/wiki/se.lu.thep.WeNNI 10 9 11 BASEPlugIns is free software; you can redistribute it and/or modify12 itunder the terms of the GNU General Public License as published by10 WeNNI is free software; you can redistribute it and/or modify it 11 under the terms of the GNU General Public License as published by 13 12 the Free Software Foundation; either version 3 of the License, or 14 13 (at your option) any later version. 15 14 16 BASEPlugIns is distributed in the hope that it will be useful, but17 WITHOUT ANY WARRANTY; without even the implied warranty of18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU19 General PublicLicense for more details.15 WeNNI is distributed in the hope that it will be useful, but WITHOUT 16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 17 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 18 License for more details. 20 19 21 20 You should have received a copy of the GNU General Public License … … 32 31 import net.sf.basedb.core.RawBioAssay; 33 32 34 import net.sf.basedb.core.plugin.About;35 33 import net.sf.basedb.core.plugin.AboutImpl; 34 import net.sf.basedb.core.plugin.Plugin; 36 35 37 36 import java.io.IOException; … … 40 39 41 40 /** 42 This plugin provides means to calculate the fold changes for a root bioassayset43 using PLIER. It needs the following parameters:41 WeNNI plug-in. An Unreliable expression value of a gene is imputed 42 as the average expression in the most similar genes. 44 43 45 <pre> 46 String : name; The name of the new bioassayset. 47 Experiment : experiment; The experiment we are working on. 48 List>RawBioAssay< : rawBioAssays; The raw bioassays to create bioassays for 49 (must be part of the experiment). 50 </pre> 44 The method is published in "Improving missing value imputation of 45 microarray data by using spot quality weights", P. Johansson and 46 J. Häkkinen. BMC Bioinformatics 7, 306 (2006) 51 47 52 @author Peter Johansson48 @author Jari Häkkinen, Peter Johansson 53 49 @version MAKESUBSTOFVERSIONNUMBER 50 @since BASE 2.9 54 51 @base.modified $Date$ 55 52 */ … … 59 56 { 60 57 61 public WeNNI() {} 62 63 public About getAbout() { return about; } 58 public WeNNI() { 59 // set about information 60 about = new AboutImpl 61 ( "WeNNI plug-in", "An Unreliable expression value of a gene is " + 62 "imputed as the average expression in the most similar genes.\n" + 63 "\nThe method is published in \"Improving missing value imputation " + 64 "of microarray data by using spot quality weights\", P. Johansson " + 65 "and J. Häkkinen. BMC Bioinformatics 7, 306 (2006)", 66 "Version: MAKESUBSTOFVERSIONNUMBER $Revision$ " + 67 "$Date$", 68 "2008 Jari Häkkinen, Peter Johansson", 69 null, null, 70 "http://baseplugins.thep.lu.se/wiki/se.lu.thep.WeNNI" ); 71 // set the type of the plug-in 72 plugin_maintype=Plugin.MainType.ANALYZE; 73 } 64 74 65 75 … … 77 87 } 78 88 79 80 81 82 83 private static final About about = new AboutImpl84 ("WeNNI plug-in", "An Unreliable expression value of a gene is " +85 "imputed as the average expression in the most similar genes.",86 "Version: MAKESUBSTOFVERSIONNUMBER $Revision$ " +87 "$Date$",88 "2007 Peter Johansson, " +89 "Department of Theoretical Physics, Lund University",90 null, null,91 "http://baseplugins.thep.lu.se/wiki/WeNNI" );92 89 }
Note: See TracChangeset
for help on using the changeset viewer.