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
ad38210b
Commit
ad38210b
authored
May 24, 2016
by
Joshua Gould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urls updaetd
parent
d3e878ef
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
21 deletions
+21
-21
js/morpheus-latest.min.js
js/morpheus-latest.min.js
+10
-10
src/sample_datasets.js
src/sample_datasets.js
+9
-9
src/ui/form_builder.js
src/ui/form_builder.js
+1
-1
src/util/util.js
src/util/util.js
+1
-1
No files found.
js/morpheus-latest.min.js
View file @
ad38210b
This diff is collapsed.
Click to expand it.
src/sample_datasets.js
View file @
ad38210b
...
...
@@ -88,7 +88,7 @@ morpheus.SampleDatasets = function(options) {
});
$
.
ajax
(
'
//s3.amazonaws.com/
appdata.cmap.org
/morpheus/tcga/tcga_index.txt
'
)
'
//s3.amazonaws.com/
data.clue.io
/morpheus/tcga/tcga_index.txt
'
)
.
done
(
function
(
text
)
{
var
lines
=
text
.
split
(
'
\n
'
);
...
...
@@ -200,7 +200,7 @@ morpheus.SampleDatasets = function(options) {
};
morpheus
.
SampleDatasets
.
getTcgaDataset
=
function
(
options
)
{
var
baseUrl
=
'
//s3.amazonaws.com/
appdata.cmap.org
/morpheus/tcga/
'
var
baseUrl
=
'
//s3.amazonaws.com/
data.clue.io
/morpheus/tcga/
'
+
options
.
type
+
'
/
'
;
var
datasetOptions
=
{};
if
(
options
.
mrna
)
{
...
...
@@ -240,35 +240,35 @@ morpheus.SampleDatasets.getCCLEDataset = function(options) {
if
(
options
.
sig_genes
)
{
datasets
.
push
({
dataset
:
'
//s3.amazonaws.com/
appdata.cmap.org
/morpheus/CCLE_hybrid_capture1650_hg19_NoCommonSNPs_NoNeutralVariants_CDS_2012.05.07.maf.txt
'
dataset
:
'
//s3.amazonaws.com/
data.clue.io
/morpheus/CCLE_hybrid_capture1650_hg19_NoCommonSNPs_NoNeutralVariants_CDS_2012.05.07.maf.txt
'
});
// datasets
// .push({
// dataset :
// '//s3.amazonaws.com/
appdata.cmap.org
/morpheus/1650_HC_plus_RD_muts.maf.txt'
// '//s3.amazonaws.com/
data.clue.io
/morpheus/1650_HC_plus_RD_muts.maf.txt'
// });
}
if
(
options
.
cn
)
{
datasets
.
push
({
dataset
:
'
//s3.amazonaws.com/
appdata.cmap.org
/morpheus/CCLE_copynumber_byGene_2013-12-03.gct
'
dataset
:
'
//s3.amazonaws.com/
data.clue.io
/morpheus/CCLE_copynumber_byGene_2013-12-03.gct
'
});
}
if
(
options
.
mrna
)
{
datasets
.
push
({
dataset
:
'
//s3.amazonaws.com/
appdata.cmap.org
/morpheus/CCLE_Expression_Entrez_2012-09-29.txt
'
dataset
:
'
//s3.amazonaws.com/
data.clue.io
/morpheus/CCLE_Expression_Entrez_2012-09-29.txt
'
});
}
if
(
options
.
ach
)
{
datasets
.
push
({
dataset
:
'
//s3.amazonaws.com/
appdata.cmap.org
/morpheus/Achilles_QC_v2.4.3.rnai.Gs.gct
'
dataset
:
'
//s3.amazonaws.com/
data.clue.io
/morpheus/Achilles_QC_v2.4.3.rnai.Gs.gct
'
});
}
var
columnAnnotations
=
[
{
file
:
'
//s3.amazonaws.com/
appdata.cmap.org
/morpheus/CCLE_Sample_Info.txt
'
,
file
:
'
//s3.amazonaws.com/
data.clue.io
/morpheus/CCLE_Sample_Info.txt
'
,
datasetField
:
'
id
'
,
fileField
:
'
id
'
}
];
...
...
@@ -276,7 +276,7 @@ morpheus.SampleDatasets.getCCLEDataset = function(options) {
// there are several cell lines that are in Achilles but not CCLE
columnAnnotations
.
push
({
file
:
'
//s3.amazonaws.com/
appdata.cmap.org
/morpheus/Achilles_v2.4_SampleInfo_small.txt
'
,
file
:
'
//s3.amazonaws.com/
data.clue.io
/morpheus/Achilles_v2.4_SampleInfo_small.txt
'
,
datasetField
:
'
id
'
,
fileField
:
'
id
'
});
...
...
src/ui/form_builder.js
View file @
ad38210b
...
...
@@ -448,7 +448,7 @@ morpheus.FormBuilder.prototype = {
// type = 'bootstrap-select';
// }
if
(
type
==
'
bootstrap-select
'
)
{
html
.
push
(
'
<select data-selected-text-format="count" name="
'
html
.
push
(
'
<select data-
live-search="
'
+
(
field
.
search
?
true
:
false
)
+
'
" data-
selected-text-format="count" name="
'
+
name
+
'
" id="
'
+
id
+
'
" class="selectpicker form-control"
'
);
}
else
{
...
...
src/util/util.js
View file @
ad38210b
...
...
@@ -192,7 +192,7 @@ morpheus.Util.getFileName = function (fileOrUrl) {
name
=
''
+
name
;
var
slash
=
name
.
lastIndexOf
(
'
/
'
);
if
(
slash
!==
-
1
&&
slash
<
name
.
length
-
1
)
{
// https://s3.amazonaws.com/
appdata.cmap.org
/icv/dosval/BRD-K45711268_10_UM_24_H/pcl_cell.gct?AWSAccessKeyId=AKIAJZQISWLUKFS3VUKA&Expires=1455761050&Signature=HVle9MvXV3OGRZHOngdm2frqER8%3D
// https://s3.amazonaws.com/
data.clue.io
/icv/dosval/BRD-K45711268_10_UM_24_H/pcl_cell.gct?AWSAccessKeyId=AKIAJZQISWLUKFS3VUKA&Expires=1455761050&Signature=HVle9MvXV3OGRZHOngdm2frqER8%3D
name
=
name
.
substring
(
slash
+
1
);
// get stuff after slash
var
question
=
name
.
indexOf
(
'
?
'
);
if
(
question
!==
-
1
&&
name
.
length
>
(
question
+
1
))
{
...
...
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