From 4cb8d84db62fd9f87c0a825be1e7daf936729f77 Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@gmail.com> Date: Mon, 18 May 2020 23:43:51 -0500 Subject: [PATCH] Add cellxgene --- content/sc.data/cellxgene_2018CellReports.md | 13 +++++++ .../sc.data/cellxgene_2020Prostate.PdPgb.md | 13 +++++++ .../sc.data/cellxgene_2020Prostate.muPrUr.md | 13 +++++++ content/sc.data/cellxgene_hu.Pd.deep.md | 9 +++-- content/sc.data/hu.Pd.deep.md | 4 +- layouts/custom/cellxgene.html | 38 +++++++++++++++++++ layouts/custom/cellxgene_hu.Pd.deep.html | 22 ----------- layouts/custom/sc.data.html | 1 + 8 files changed, 85 insertions(+), 28 deletions(-) create mode 100644 content/sc.data/cellxgene_2018CellReports.md create mode 100644 content/sc.data/cellxgene_2020Prostate.PdPgb.md create mode 100644 content/sc.data/cellxgene_2020Prostate.muPrUr.md create mode 100644 layouts/custom/cellxgene.html delete mode 100644 layouts/custom/cellxgene_hu.Pd.deep.html diff --git a/content/sc.data/cellxgene_2018CellReports.md b/content/sc.data/cellxgene_2018CellReports.md new file mode 100644 index 0000000..6be3f18 --- /dev/null +++ b/content/sc.data/cellxgene_2018CellReports.md @@ -0,0 +1,13 @@ +--- +title: "Human Normal Prostate" +description: "As published in 2018 Cell Reports (cellxgene: in development)" +name: "Human Normal Prostate: As published in 2018 Cell Reports" +date: 2019-12-24T21:46:39-06:00 +draft: false +weight: "2" +type: "custom" +layout: "cellxgene" +current: false +location: "PublishedData/2018CellReports/2018CellReports_huPr_all" +--- + diff --git a/content/sc.data/cellxgene_2020Prostate.PdPgb.md b/content/sc.data/cellxgene_2020Prostate.PdPgb.md new file mode 100644 index 0000000..96643b7 --- /dev/null +++ b/content/sc.data/cellxgene_2020Prostate.PdPgb.md @@ -0,0 +1,13 @@ +--- +title: "Human Normal and BPH Prostate Epithelia" +description: ": As published in 2020 Prostate (cellxgene: in development)" +name: "Human Normal and BPH Prostate Epithelia: As published in 2020 Prostate" +date: 2019-12-24T21:46:39-06:00 +draft: false +weight: "3" +type: "custom" +layout: "cellxgene" +current: false +location: "PublishedData/2020Prostate/2020Prostate_huPr_PdPgb_epi" +--- + diff --git a/content/sc.data/cellxgene_2020Prostate.muPrUr.md b/content/sc.data/cellxgene_2020Prostate.muPrUr.md new file mode 100644 index 0000000..7818d62 --- /dev/null +++ b/content/sc.data/cellxgene_2020Prostate.muPrUr.md @@ -0,0 +1,13 @@ +--- +title: "Mouse Prostate and Urethral Epithelia" +description: "As published in 2020 Prostate (cellxgene: in development)" +name: "Mouse Prostate and Urethral Epithelia: As published in 2020 Cell Reports" +date: 2019-12-24T21:46:39-06:00 +draft: false +weight: "4" +type: "custom" +layout: "cellxgene" +current: false +location: "PublishedData/2020Prostate/2020Prostate_muPrUr_epi" +--- + diff --git a/content/sc.data/cellxgene_hu.Pd.deep.md b/content/sc.data/cellxgene_hu.Pd.deep.md index 3bf74f3..9f6638d 100644 --- a/content/sc.data/cellxgene_hu.Pd.deep.md +++ b/content/sc.data/cellxgene_hu.Pd.deep.md @@ -1,12 +1,13 @@ --- -title: "Human Donor Prostate (cellxgene)" -description: "Single-Cell RNA-sequencing Data" -name: "Human Donor Prostate (cellxgene)" +title: "Human Normal Prostate" +description: "Deep Sequencing (cellxgene: in development)" +name: "Human Normal Prostate: Deep Sequencing" date: 2019-12-24T21:46:39-06:00 draft: false weight: "1" type: "custom" -layout: "cellxgene_hu.Pd.deep" +layout: "cellxgene" current: false +location: "huPr_DEEP/huPr_Pd_all" --- diff --git a/content/sc.data/hu.Pd.deep.md b/content/sc.data/hu.Pd.deep.md index 839547c..1df059c 100644 --- a/content/sc.data/hu.Pd.deep.md +++ b/content/sc.data/hu.Pd.deep.md @@ -1,7 +1,7 @@ --- -title: "Human Donor Prostate" +title: "Human Normal Prostate" description: "Single-Cell RNA-sequencing Data" -name: "Human Donor Prostate" +name: "Human Normal Prostate" date: 2019-12-24T21:46:39-06:00 draft: false weight: "1" diff --git a/layouts/custom/cellxgene.html b/layouts/custom/cellxgene.html new file mode 100644 index 0000000..e98c323 --- /dev/null +++ b/layouts/custom/cellxgene.html @@ -0,0 +1,38 @@ +{{ partial "header.html" . }} + +<div class="header"> + <h1>{{ .Title }}</h1> + <h2>{{ .Description }}</h2> +</div> + +<style> + .cellxgene { + margin: 0 auto; + padding: 0 2em; + max-width: 1650px; + height: 730px; + margin-bottom: 50px; + } + .no-cellxgene{ + display: none; + } +@media only screen and (max-width: 1500px) { + .cellxgene{ + display: none; + } + .no-cellxgene{ + margin: 0 auto; + padding: 0 2em; + margin-bottom: 50px; + display: inherit; + } +} +</style> +<div class="cellxgene"> + <iframe name="embed" src="http://52.15.203.98:5005/view/{{ .Params.location }}.h5ad/" width="100%" height="100%" frameborder="0" allowfullscreen="" ></iframe> +</div> +<div class="no-cellxgene"> + <h2>Screen width too narrow to display cellxgene</h1> +</div> + +{{ partial "footer.html" . }} \ No newline at end of file diff --git a/layouts/custom/cellxgene_hu.Pd.deep.html b/layouts/custom/cellxgene_hu.Pd.deep.html deleted file mode 100644 index 9442764..0000000 --- a/layouts/custom/cellxgene_hu.Pd.deep.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ partial "header.html" . }} - -<div class="header"> - <h1>{{ .Title }}</h1> - <h2>{{ .Description }}</h2> -</div> - -<style> -.contents { - margin: 0 auto; - padding: 0 2em; - max-width: 800px; - height: 1000px; - margin-bottom: 50px; - line-height: 1.6em; -} -</style> -<div class="contents"> - <iframe name="cellxgene-gateway" src="http://198.215.54.107:5005/view/StrandLab/huPr_DEEP/huPr_Pd_all.h5ad/" style="padding: 35px" width="100%" height="100%" frameborder="0" allowfullscreen="" ></iframe> -</div> - -{{ partial "footer.html" . }} \ No newline at end of file diff --git a/layouts/custom/sc.data.html b/layouts/custom/sc.data.html index 6e0dc9b..d45a0c4 100644 --- a/layouts/custom/sc.data.html +++ b/layouts/custom/sc.data.html @@ -57,6 +57,7 @@ <br> <hr> <br> + <h3 style="text-align: center">CZI cellxgene (with Novartis' cellxgene-gateway) for data exploration (in development)</h3> {{ range where .Pages.ByWeight "Params.current" false }} <li><i><a href="{{.Permalink}}">{{.Params.name}}</a></i></li> {{ end }} -- GitLab