-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/npm_and_yarn/moment-2.29.4
- Loading branch information
Showing
13 changed files
with
112 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ import { | |
} from "@material-ui/core"; | ||
import { useRootStyles } from "../../../rootStyles"; | ||
import exampleScreenShot from "../../../img/example-colab-screenshot.png"; | ||
import exampleUpsetPlot from "../../../img/example-colab-screenshot.upset.png"; | ||
|
||
const CodeBasedExplorationPage: React.FC<{ | ||
history: any; | ||
|
@@ -55,65 +56,98 @@ const CodeBasedExplorationPage: React.FC<{ | |
Some data from CIDC is available for direct querying | ||
and exploration via Google's BigQuery database | ||
system. We provide tables of participant- and | ||
sample-level metadata, including some clinical data. | ||
Additionally, we are working with researchers and | ||
statisticians to support some widely-used and | ||
high-impact assay data tables for direct analysis | ||
with minimal setup. | ||
sample-level metadata. Additionally, we are working | ||
with researchers and statisticians to figure out | ||
some widely-used and high-impact assay data tables | ||
for direct analysis with minimal setup. | ||
</Typography> | ||
<Typography> | ||
These datasets are most easily accessed via python | ||
notebooks hosted on Google's Colaboratory, for which | ||
we have several examples listed below. CIDC will | ||
allow data access for all approved users. Please | ||
contact CIDC at{" "} | ||
we have a few templates and examples listed below. | ||
CIDC enables data access for all approved users. | ||
Please contact CIDC at | ||
<a href="mailto:[email protected]"> | ||
[email protected] | ||
</a>{" "} | ||
for access to the data tables. The same data | ||
restrictions and security apply to all data accessed | ||
via this mechanism as via the portal. | ||
</a> | ||
if you have any issues accessing the data | ||
tables. The same data restrictions and security | ||
apply to all data accessed via this mechanism as via | ||
the portal. | ||
</Typography> | ||
</CardContent> | ||
</Card> | ||
</Grid> | ||
<Grid item> | ||
<Card style={{ maxWidth: 1100, width: 1100 }}> | ||
<CardHeader title="Examples" /> | ||
<CardHeader title="Templates and Examples" /> | ||
<CardContent className="markdown-body"> | ||
<ul> | ||
{[ | ||
{ | ||
name: "Introductory Tutorial", | ||
destination: null | ||
}, | ||
{ | ||
name: "Participant and sample exploration", | ||
name: | ||
"Template: Upset Plot by Trial and/or Assay", | ||
destination: | ||
"https://colab.research.google.com/drive/1VXVLpLE9_D7fW5cZP4j2jyTOA4q42sJk#scrollTo=R_PNmBI99t4G" | ||
"https://colab.research.google.com/drive/14xys5GrZ7OzCC5eUYMrexM9Imq4szw7o", | ||
description: | ||
"a template meant for copying and modification by the user to generate their own upset plots " + | ||
"showing the number of participants with a given subset of assays across a given subset of trials" | ||
}, | ||
{ | ||
name: | ||
"Analysis of WES variants for 10021 from filtered .maf files", | ||
"Template: Upset Plot for Collection Events on a Single Trial", | ||
destination: | ||
"https://colab.research.google.com/drive/11BfQsD5QgShJCGWjpnhhq6OPtUVwiPgN" | ||
"https://colab.research.google.com/drive/1kheXUtozN6dcxdrf_U_WtnXUiDBhEMt2", | ||
description: | ||
"a template meant for copying and modification by the user to generate their own upset plots " + | ||
"showing the number of participants with a given subset of collection events across a single trial" | ||
}, | ||
{ | ||
name: | ||
"Analysis of RNAseq with sample metadata for 10021 from quant.sf", | ||
"Example: Participant and Sample Exploration", | ||
destination: | ||
"https://colab.research.google.com/drive/1mdm4ONM0BwoBCbyGk0N2DVFEDN8Ob9Iw" | ||
"https://colab.research.google.com/drive/1VXVLpLE9_D7fW5cZP4j2jyTOA4q42sJk", | ||
description: | ||
"a demonstration of more complex code-based filtering and exploration of samples and participants" | ||
} | ||
].map(item => | ||
item.destination == null ? ( | ||
item.description == null ? ( | ||
<li key={item.name}> | ||
<b> | ||
{item.name} (under construction) | ||
</b> | ||
</li> | ||
) : ( | ||
<li key={item.name}> | ||
<b> | ||
{item.name} (under construction) | ||
</b>{" "} | ||
- {item.description} | ||
</li> | ||
) | ||
) : item.description == null ? ( | ||
<li key={item.name}> | ||
{item.name} (under construction) | ||
<a | ||
href={item.destination} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{item.name} | ||
</a> | ||
</li> | ||
) : ( | ||
<li key={item.name}> | ||
<a href={item.destination}> | ||
{item.name} | ||
</a> | ||
<b> | ||
<a | ||
href={item.destination} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{item.name} | ||
</a> | ||
</b>{" "} | ||
- {item.description} | ||
</li> | ||
) | ||
)} | ||
|
@@ -128,7 +162,13 @@ const CodeBasedExplorationPage: React.FC<{ | |
<img | ||
src={exampleScreenShot} | ||
alt={ | ||
"Screenshot of a Kaplan-Meier curve for trial 10021. One subplot per cohort, one line per trial arm." | ||
"Screenshot of Google Colaboratory interface for Upset Plot Template, showing the top of Section 3. Parameters where you can choose trials to include in the plot." | ||
} | ||
></img> | ||
<img | ||
src={exampleUpsetPlot} | ||
alt={ | ||
"Upset plot as generated in Google Colaboratory using the Upset Plot Template." | ||
} | ||
></img> | ||
</CardContent> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,6 @@ const NONASSAY_FIELDS = [ | |
|
||
const ASSAYS_WITH_ANALYSIS = [ | ||
"atacseq", | ||
"ctdna", | ||
"cytof", | ||
"rna", | ||
"tcr", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters