Skip to content

Commit

Permalink
Add microarray gene ID conversion example (#212)
Browse files Browse the repository at this point in the history
* add microarray gene id conversion notebook

- make appropriate updates to `references.bib`, `Snakefile`, and `_navbar.html` file

* add section to explore the mapped df and add some context

* add context around `multiVals`

- add references to `references.bib`
- update comments and documentation
- rerun Snakefile

* add annotation package to dockerfile

* add new reference 

- rerun Snakefile

* fix a sentence

* add more context around `multiVals`

* add a bit more context around the gene ids used

- fix formatting

* use `list` and `filter` in `mapIds()` function execution

- rename the file and propagate change in `Snakefile` and `navbar.html`
- update references
- rearrange notebook and rerun Snakefile

* fix some formatting

* fix spacing

* add a sanity check after obtaining new filtered df

* incorporate @cansavvy's review suggestions

* fix typo and add step to join rest of data to final df

* fix link in reference file

* Apply @cansavvy's suggestions from code review

Co-authored-by: Candace Savonen <cansav09@gmail.com>

* add reference for `AnnotationDbi` and rerun

* fix order in `references.bib`

Co-authored-by: Candace Savonen <cansav09@gmail.com>
  • Loading branch information
cbethell and cansavvy authored Sep 18, 2020
1 parent abb4c82 commit d5f6c7a
Show file tree
Hide file tree
Showing 17 changed files with 2,930 additions and 422 deletions.
14 changes: 5 additions & 9 deletions 01-getting-started/getting-started.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<!DOCTYPE html>

<html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />

Expand Down Expand Up @@ -1343,6 +1344,7 @@
}
img {
max-width:100%;
height: auto;
}
.tabbed-pane {
padding-top: 12px;
Expand Down Expand Up @@ -1491,7 +1493,6 @@
border: none;
display: inline-block;
border-radius: 4px;
background-color: transparent;
}

.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
Expand Down Expand Up @@ -1520,12 +1521,6 @@
}
}

@media print {
.toc-content {
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
float: right;
}
}

.toc-content {
padding-left: 30px;
Expand Down Expand Up @@ -1619,6 +1614,7 @@
<li><a href="../02-microarray/differential-expression_microarray_01.html">Differential Expression</a></li>
<li><a href="../02-microarray/dimension-reduction_microarray_01_pca.html">Dimension Reduction - PCA</a></li>
<li><a href="../02-microarray/dimension-reduction_microarray_02_umap.html">Dimension Reduction - UMAP</a></li>
<li><a href="../02-microarray/gene-id-annotation_microarray_01_ensembl.html">Ensembl Gene ID Annotation</a></li>

</ul>
</li> <!--/microarray dropdown-->
Expand Down Expand Up @@ -1838,7 +1834,7 @@ <h2>References</h2>
theme: "bootstrap3",
context: '.toc-content',
hashGenerator: function (text) {
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_').toLowerCase();
},
ignoreSelector: ".toc-ignore",
scrollTo: 0
Expand Down
14 changes: 5 additions & 9 deletions 02-microarray/00-intro-to-microarray.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<!DOCTYPE html>

<html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />

Expand Down Expand Up @@ -1343,6 +1344,7 @@
}
img {
max-width:100%;
height: auto;
}
.tabbed-pane {
padding-top: 12px;
Expand Down Expand Up @@ -1491,7 +1493,6 @@
border: none;
display: inline-block;
border-radius: 4px;
background-color: transparent;
}

.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
Expand Down Expand Up @@ -1520,12 +1521,6 @@
}
}

@media print {
.toc-content {
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
float: right;
}
}

.toc-content {
padding-left: 30px;
Expand Down Expand Up @@ -1619,6 +1614,7 @@
<li><a href="../02-microarray/differential-expression_microarray_01.html">Differential Expression</a></li>
<li><a href="../02-microarray/dimension-reduction_microarray_01_pca.html">Dimension Reduction - PCA</a></li>
<li><a href="../02-microarray/dimension-reduction_microarray_02_umap.html">Dimension Reduction - UMAP</a></li>
<li><a href="../02-microarray/gene-id-annotation_microarray_01_ensembl.html">Ensembl Gene ID Annotation</a></li>

</ul>
</li> <!--/microarray dropdown-->
Expand Down Expand Up @@ -1719,7 +1715,7 @@ <h4 class="author">CCDL for ALSF</h4>
theme: "bootstrap3",
context: '.toc-content',
hashGenerator: function (text) {
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_').toLowerCase();
},
ignoreSelector: ".toc-ignore",
scrollTo: 0
Expand Down
67 changes: 29 additions & 38 deletions 02-microarray/clustering_microarray_01_heatmap.html

Large diffs are not rendered by default.

71 changes: 31 additions & 40 deletions 02-microarray/dimension-reduction_microarray_01_pca.html

Large diffs are not rendered by default.

79 changes: 35 additions & 44 deletions 02-microarray/dimension-reduction_microarray_02_umap.html

Large diffs are not rendered by default.

Loading

0 comments on commit d5f6c7a

Please sign in to comment.