Skip to content

Commit

Permalink
update matrix URL
Browse files Browse the repository at this point in the history
  • Loading branch information
hpratt committed Aug 30, 2022
1 parent 78ed603 commit 2fee3fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SCREENui",
"version": "11.5.17",
"version": "11.5.18",
"license": "ISC",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions website/ui/src/apps/index/components/Matrices/Matrices.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ const MatrixPage = () => {
<Header as="h3">{umapHeader(assay, assembly, "Downloads")}</Header>
<Divider style={{ borderTop: "1px solid #000" }} />
<div style={{ marginTop: "0.8em" }} />
<Button size="large" href={!hasMatrix ? undefined : `https://storage.googleapis.com/gcp.wenglab.org/cCREs/matrices/all/${assembly === "mm10" ? "mm10" : "GRCh38"}.${ASSAY_MAP[assay]}-FC.rDHS-V3.txt.gz`} download style={{ backgroundColor: "#aa8888", borderRadius: "6px", marginBottom: "0.2em", width: "90%" }} onClick={() => setModalShown(!hasMatrix)}>
<Icon name="download" /> Fold-change signal matrix
<Button size="large" href={!hasMatrix ? undefined : `https://storage.googleapis.com/gcp.wenglab.org/cCREs/matrices/all/${assembly === "mm10" ? "mm10" : "GRCh38"}.${ASSAY_MAP[assay]}-${assay === "dnase" ? "RDN" : "FC"}.rDHS-V3.txt.gz`} download style={{ backgroundColor: "#aa8888", borderRadius: "6px", marginBottom: "0.2em", width: "90%" }} onClick={() => setModalShown(!hasMatrix)}>
<Icon name="download" /> {assay === "dnase" ? "Read-Depth Normalized" : "Fold-change"} signal matrix
</Button>
<Button size="large" href={!hasMatrix ? undefined : `https://storage.googleapis.com/gcp.wenglab.org/cCREs/matrices/all/${assembly === "mm10" ? "mm10" : "GRCh38"}.${ASSAY_MAP[assay]}-zscore.rDHS-V3.txt.gz`} download style={{ backgroundColor: "#aa8888", borderRadius: "6px", marginBottom: "0.2em", width: "90%" }} onClick={() => setModalShown(!hasMatrix)}>
<Icon name="download" /> Z-score matrix
Expand Down
2 changes: 1 addition & 1 deletion website/ui/src/common/zrenders.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const dnase_z_score = (d) => (d === -11.0 || d === '--' || d === undefine
export const h3k4me3_z_score = (d) => (d === -11.0 || d === '--' || d === undefined ? "--" : (d > 1.64 ? <strong><span style={{ color: "#ff0000" }}>{d.toFixed(2)}</span></strong> : d.toFixed(2)));
export const h3k27ac_z_score = (d) => (d === -11.0 || d === '--' || d === undefined ? "--" : (d > 1.64 ? <strong><span style={{ color: "#ffcd00" }}>{d.toFixed(2)}</span></strong> : d.toFixed(2)));
export const ctcf_z_score = (d) => (d === -11.0 || d === '--' || d === undefined ? "--" : (d > 1.64 ? <strong><span style={{ color: "#00b0f0" }}>{d.toFixed(2)}</span></strong> : d.toFixed(2)));
export const cell_type = (globals) => (ct) => (globals.byCellType[ct][0]["name"]);
export const cell_type = (globals) => (ct) => (globals.byCellType[ct] && globals.byCellType[ct][0] ? globals.byCellType[ct][0]["name"] : "");

export const support = (support) => (
("eqtls" in support ? support.eqtls.length : 0) + ("chiapet" in support ?
Expand Down

0 comments on commit 2fee3fd

Please sign in to comment.