Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated the cheat sheets with the new command "ui.openFiles" and fixed

two newly discovered errors as well.
  • Loading branch information...
commit 269d01f8f66564bcf8dc9e0b6c79e6f081d8a165 1 parent c68bb8b
@KlasJoensson KlasJoensson authored
View
110 plugins/net.bioclipse.qsar.ui/cheatsheets/qsar-r.xml
@@ -1,48 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
-<cheatsheet
- title="Using QSAR data in R<intro>
- <description>
- This tutorial demonstrates how to use R to analyze QSAR. Note that R is experimental and must be installed from the experimental update site before following this tutorial.
- </description>
- </intro>
-
- <item
- title="Step 1: Open the R Console">
- <description>
- If you have R installed, then installing the Bioclipse-R Intergration feature let you access R directly from Bioclipse via the R-console.
- Reveal the R-console from the menu <b>Window > Show View > Other</b> and select <b>R Console</b>.
- </description>
- <command
- required="false"
- serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=net.bioclipse.r.ui.views.RConsoleView)"/>
-
- </item>
-
- <item
- title="Step 2: Load the dataset into R">
- <description>
-
- Loading the dataset into R can be achieved by entering, in the R Console:<br/><br/>
-
- <b>dataset &lt;- read.delim(file="myQsarProject/dataset.csv", sep=",", header=TRUE, row.names=1, na.strings="NaN")</b>
-
- </description>
-
- </item>
-
- <item
- title="Step 3: Use R to analyze dataset">
- <description>
-
- Here is a simple example to demonstrate how the read file can be analyzed in R:<br/><br/>
-
- <b>dataset &lt;- as.matrix(dataset)</b><br/><br/>
- <b>mod &lt;- lm(dataset[,1] ~ dataset[,2:ncol(dataset)], na.action=na.omit)</b><br/><br/>
- <b>plot(mod)</b><br/><br/>
-
- </description>
-
- </item>
-
-
+<cheatsheet
+ title="Using QSAR data in R">
+ <intro>
+ <description>
+ This tutorial demonstrates how to use R to analyze QSAR. Note that R is
+ experimental and must be installed from the experimental update site
+ before following this tutorial.
+ </description>
+ </intro>
+
+ <item title="Step 1: Open the R Console">
+ <description>
+ If you have R installed, then installing the Bioclipse-R Intergration
+ feature let you access R directly from Bioclipse via the R-console.
+ Reveal the R-console from the menu
+ <b>Window > Show View > Other</b>
+ and select
+ <b>R Console</b>
+ .
+ </description>
+ <command required="false"
+ serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=net.bioclipse.r.ui.views.RConsoleView)" />
+
+ </item>
+
+ <item title="Step 2: Load the dataset into R">
+ <description>
+
+ Loading the dataset into R can be achieved by entering, in the R
+ Console:
+ <br />
+ <br />
+
+ <b>dataset &lt;- read.delim(file="myQsarProject/dataset.csv",
+ sep=",", header=TRUE, row.names=1, na.strings="NaN")</b>
+
+ </description>
+
+ </item>
+
+ <item title="Step 3: Use R to analyze dataset">
+ <description>
+
+ Here is a simple example to demonstrate how the read file can be
+ analyzed in R:
+ <br />
+ <br />
+
+ <b>dataset &lt;- as.matrix(dataset)</b>
+ <br />
+ <br />
+ <b>mod &lt;- lm(dataset[,1] ~ dataset[,2:ncol(dataset)],
+ na.action=na.omit)</b>
+ <br />
+ <br />
+ <b>plot(mod)</b>
+ <br />
+ <br />
+
+ </description>
+
+ </item>
+
+
</cheatsheet>
View
4 plugins/net.bioclipse.qsar.ui/cheatsheets/scripting_qsar.xml
@@ -57,14 +57,14 @@
<b>qsar.calculate(molecules, descriptors)</b><br/><br/>
The gist 95189 shows a script to demonstrate this. To run it; just save it as a JavaScript,
- e.g. as &qt;qsar-multi.js&qt;. Then open the file and run it.
+ e.g. as &quot;qsar-multi.js&quot;. Then open the file and run it.
</description>
<action
pluginId="net.bioclipse.scripting.ui"
class="net.bioclipse.scripting.ui.actions.ScriptAction"
- param1="ui.open(gist.download(95189))"/>
+ param1="ui.openFiles(gist.download(95189))"/>
</item>
Please sign in to comment.
Something went wrong with that request. Please try again.