generated from jhudsl/OTTR_Template_Website
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathomicsTable.Rmd
60 lines (43 loc) · 2.24 KB
/
omicsTable.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
title: "**Omics Platforms**"
output: html_document
---
### **Overview**
The following table contains a list of "omics" informatics platforms funded by ITCR grants. "Omics" platforms are those which work with genomic or proteomic data types, such as RNA-Seq data. These platforms allow access to interactively explore and analyze large-scale cancer data, as well as create and share reproducible workspaces and results. The goals of these platforms are to facilitate scientific collaboration and to better empower the research community for "omic" research.
```{r,echo=FALSE,results='hide',message=FALSE, warning=FALSE}
library(DT)
library(here)
library(tidyverse)
library(magrittr)
source("scripts/format-tables.R")
```
**Table keys:**
<div title="Table keys">
<img src="resources/images/Hyperlink2.png" height="30"> </img> = Main Link, <img src="resources/images/Documentation2.png" height="30"> </img> = Documentation, <img src="resources/images/Publication2.png" height="30"> </img> = Publications, <img src="ITCRLogo.png" height="25"> </img> = ITCR Funded
</div>
```{r,echo=FALSE,results='hide',message=FALSE, warning=FALSE}
# Load file for omics Table and make any edits/additions in this block
omicsData <- read_csv(file = here::here("data/itcr_table_omics.csv"))
#While reworking the code, saw that ICGC and PCAWG were not separated by a comma and therefore ICGC wasn't linked
tibbleCGC <- tibble(
Name = "Cancer Genome Collaboratory",
`Data Provided` = "ICGC, PCAWG, DCC"
)
omicsData <- dplyr::rows_update(omicsData, tibbleCGC, by = "Name")
```
```{r, echo=FALSE,results='hide',message=FALSE, warning=FALSE}
modified_omics <- formatTheTables(omicsData, "Omics", non_resource = TRUE)
# save to the data folder
#write_csv(modified_omics, file = "data/modified_omics.csv")
```
```{r,echo=FALSE,results='hide',message=FALSE, warning=FALSE}
# Create an omics Table
columnDefsListOfLists <- list(list(className = 'dt-center', targets = "_all"),
list(width = '280px', targets = c(2)) ,
list(width = '130px', targets = c(3)) )
ITCR_omics <- setup_dt_datatable(modified_omics, columnDefsListOfLists)
```
```{r,echo=FALSE,message=FALSE, warning=FALSE}
# Display the omics table
ITCR_omics
```