Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
morpheus.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Daria Zenkova
morpheus.js
Commits
eae9abb9
Commit
eae9abb9
authored
Sep 06, 2016
by
Daria Zenkova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed size of chart + removed redundant button
parent
0fd7adf5
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
12 deletions
+14
-12
js/morpheus-latest.min.js
js/morpheus-latest.min.js
+8
-8
src/tools/pcaplot_tool.js
src/tools/pcaplot_tool.js
+1
-1
src/ui/heat_map_toolbar.js
src/ui/heat_map_toolbar.js
+5
-3
No files found.
js/morpheus-latest.min.js
View file @
eae9abb9
This diff is collapsed.
Click to expand it.
src/tools/pcaplot_tool.js
View file @
eae9abb9
...
@@ -335,7 +335,7 @@ morpheus.PcaPlotTool.prototype = {
...
@@ -335,7 +335,7 @@ morpheus.PcaPlotTool.prototype = {
console
.
log
(
arguments
);
console
.
log
(
arguments
);
var
req
=
ocpu
.
call
(
"
pcaPlot
"
,
arguments
,
function
(
session
)
{
var
req
=
ocpu
.
call
(
"
pcaPlot
"
,
arguments
,
function
(
session
)
{
var
img
=
$
(
'
<img />
'
,
{
src
:
session
.
getLoc
()
+
'
graphics/1/png
'
});
var
img
=
$
(
'
<img />
'
,
{
src
:
session
.
getLoc
()
+
'
graphics/1/png
'
,
style
:
"
width:720px;height:540px
"
});
_this
.
$chart
.
prepend
(
img
);
_this
.
$chart
.
prepend
(
img
);
});
});
req
.
fail
(
function
()
{
req
.
fail
(
function
()
{
...
...
src/ui/heat_map_toolbar.js
View file @
eae9abb9
...
@@ -250,19 +250,21 @@ morpheus.HeatMapToolBar = function (controller) {
...
@@ -250,19 +250,21 @@ morpheus.HeatMapToolBar = function (controller) {
toolbarHtml
.
push
(
'
<div class="morpheus-button-divider"></div>
'
);
toolbarHtml
.
push
(
'
<div class="morpheus-button-divider"></div>
'
);
toolbarHtml
.
push
(
'
<button type="button" class="btn btn-default btn-xs" data-toggle="tooltip" title="PCAPlot" name="pca">PCA</button>
'
);
toolbarHtml
.
push
(
'
<button type="button" class="btn btn-default btn-xs" data-toggle="tooltip" title="PCAPlot" name="pca">PCA</button>
'
);
toolbarHtml
.
push
(
'
<div class="morpheus-button-divider"></div>
'
);
/*
toolbarHtml.push('<button type="button" class="btn btn-default btn-xs" data-toggle="tooltip" title="create ExpressionSet" name="es">ES</button>');
toolbarHtml.push('<button type="button" class="btn btn-default btn-xs" data-toggle="tooltip" title="create ExpressionSet" name="es">ES</button>');
*/
$buttons
.
on
(
'
click
'
,
'
[name=pca]
'
,
function
()
{
$buttons
.
on
(
'
click
'
,
'
[name=pca]
'
,
function
()
{
console
.
log
(
"
test button clicked
"
);
console
.
log
(
"
test button clicked
"
);
controller
.
getProject
().
getFullDataset
().
setESSession
();
new
morpheus
.
PcaPlotTool
({
project
:
controller
.
getProject
()});
new
morpheus
.
PcaPlotTool
({
project
:
controller
.
getProject
()});
});
});
$buttons
.
on
(
'
click
'
,
'
[name=es]
'
,
function
()
{
/*
$buttons.on('click', '[name=es]', function () {
console.log("es button clicked");
console.log("es button clicked");
var session = controller.getProject().getFullDataset().getESSession();
var session = controller.getProject().getFullDataset().getESSession();
});
});
*/
var
$lineOneColumn
=
$el
.
find
(
'
[data-name=lineOneColumn]
'
);
var
$lineOneColumn
=
$el
.
find
(
'
[data-name=lineOneColumn]
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment