There are two options to loading a pre-configured matrix.
1. Pass the request parameters json
, a URI encoded JSON configuration object, or url
,
a URL to a
JSON configuration file, to
https://software.broadinstitute.org/morpheus/ (can be embedded using an iframe).
Note that the correct HTTP CORS
headers must be set if any of your resources are hosted on a
different domain.
2. Include morpheus-latest.min.css, morpheus-external-latest.min.js, morpheus-latest.min.js in your HTML.
Construct a new morpheus.HeatMap
object with the el
parameter, the element in which to
render
the heat map.
Number
Number
[[number, object]]
[string]
[string]
Object
with the key "vectors"
Array
Object
with the key "vectors"
Array
[Object]
String
String
String
[String]
[{file:"https://MY_URL", datasetField:"name",
fileField:"id"}]
Number|String
(default: 13)
Number
el
element.
Number|String
(default: 13)
Boolean
(default:true)
[Object]
String
[{field:"type"}, {field:"gender"}]
Object
[Object]
String
String
[String|Number]
for "set" filter
Number
for "range" filter
Number
for "range" filter
String
for "top" filter
Number
for "top" filter
[Number]
for "index" filter
Boolean
{isAnd:true, filters:[{type:"set", name:"field_1", values:["A", "B"]}, {type:"range",
name:"field_2",
min:0, max:1}]}
Object
String
Boolean
[Number]
Boolean
Object
String
Number
Number
Number
[Object]
String
String
String
Boolean
String
Number
Number
String
Number
{ scalingMode : "fixed", stepped : false, values : [ -100, -90,
90,
100], colors : ["#abdda4", "white", "white", "red"]}
[Object]
Number
String
String
[Number]
[{field:"gene", order:0, type:"annotation"}, {modelIndices:[0],
order:1, type:"byValues"}]
{"type":{"a":"red", "b":"blue", "c":"white"}}
{"score":{values:[0, 2], colors:["yellow", "green"]}
{"type":{"a":"diamond", "b":"asterisk", "c":"x"}}
{"type":{"a":{"weight":"700"}}
String
String
[Object]
String
[String]
Boolean
(default:false)
String
String
Number
Number
Number
String
[{field:"id", display:["text"]}, {field:"stdev",
display:["text", "color"]}]
[Object]
[{name:String, params:Object}]
[{
name: "Hierarchical Clustering",
params: {cluster: "Rows and columns"}
}]