Skip to content

Commit

Permalink
removed header added buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
samhimes92 committed Sep 27, 2023
1 parent 121c140 commit f8d3505
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 11 deletions.
1 change: 1 addition & 0 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ let tooltip = d3.select("body")




Promise.all([all_data, sequences, meta_data]).then( data =>
{
// console.log("all data", data[0])
Expand Down
2 changes: 1 addition & 1 deletion js/volcano.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ this.volcanoSvg = this.volcano_div.append("svg")
.attr('id', 'volcano_svg')
.attr('width', this.WIDTH + 75)
.attr('height', this.HEIGHT)
.attr("transform", `translate(0,${100})`)
.attr("transform", `translate(0,${150})`)

//**********************************************************************************************
// GET MIN AND MAX
Expand Down
14 changes: 9 additions & 5 deletions mpra_vis.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@
</head>
<body>
<header>
<h1>TRE MPRA VIS</h1>
<!-- <h1>TRE MPRA VIS</h1> -->

<button id="treatment_view_button", class="view_button">Treatment Centric View</button>
<button id="motif_view_button", class="view_button">Motif Centric View</button>

<div>
<a href = "https://www.english.biochem.utah.edu/">The English Lab</a></div>
<a id="lab_link" href = "https://www.english.biochem.utah.edu/">The English Lab</a>

</div>

<!-- <button id="treatment_view_button", class="view_button">Treatment Centric View</button>
<button id="motif_view_button", class="view_button">Motif Centric View</button>
-->



</header>
Expand Down
20 changes: 15 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ General Div Layout
/* flex: 1; */
/* border: 2px solid red; */
border-radius: 10px;

}
.right-column {
display: flex;
Expand Down Expand Up @@ -109,7 +110,7 @@ Number DNA/RNA barcodes slider
}


/* .view_button{
.view_button{
border: 2px solid black;
background-color: white;
color: black;
Expand All @@ -124,12 +125,24 @@ Number DNA/RNA barcodes slider
display: flex;
flex-direction: column;
cursor: pointer;
position: absolute;
left: 10px;
top: 10px;
}
#motif_view_button{
display: flex;
flex-direction: column;
cursor: pointer;
} */
position: absolute;
left: 300px;
top: 10px;
}

#lab_link{
position: absolute;
left: 600px;
top: 10px;
}

/*
Copy buttons
Expand Down Expand Up @@ -180,9 +193,6 @@ Condition search bars
position: absolute;
top: 90px;
left: 50px;
font-size: 100%;


}


Expand Down

0 comments on commit f8d3505

Please sign in to comment.