generated from jhudsl/OTTR_Template_Website
-
Notifications
You must be signed in to change notification settings - Fork 1
/
multiTable.Rmd
67 lines (52 loc) · 2.35 KB
/
multiTable.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
61
62
63
64
65
66
67
---
title: "**Multi-data type Platforms**"
output: html_document
---
<style type="text/css">
body{
text-align: justify;
text-justify: inter-word;
}
</style>
### **Overview**
The following table contains a list of informatics and biomedical platforms that can help researchers work with **multiple types** of publicly available data and or their own data. These platforms provide computing resource support across different areas of bioinformatics research.
```{r,echo=FALSE,results='hide',message=FALSE, warning=FALSE}
#Load DT, dplyr
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 General Table and make additions/edits here in this block
generalData <- read_csv(file = here::here("data/itcr_table_general.csv")) %>%
rename("Unique Factor" = "Unique Factor (free trial, extra guidance, privacy protection, development, unique dataset?)")
#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"
)
generalData <- dplyr::rows_update(generalData, tibbleCGC, by = "Name")
```
```{r,echo=FALSE,results='hide',message=FALSE, warning=FALSE}
modified_general <- formatTheTables(generalData, "General", non_resource = TRUE)
# save to the data folder
#write_csv(modified_general, file = "data/modified_general.csv")
```
```{r,echo=FALSE,results='hide',message=FALSE, warning=FALSE}
# Create a General Table
columnDefsListOfLists <- list(list(className = 'dt-center', targets = "_all"),
list(width = '280px', targets = c(2)) ,
list(width = '120px', targets = c(3))
)
ITCR_general <- setup_dt_datatable(modified_general, columnDefsListOfLists)
```
```{r,echo=FALSE,message=FALSE, warning=FALSE}
#display the ITCR general table
ITCR_general
```