-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbacteria_graph1.Rmd
42 lines (32 loc) · 1.15 KB
/
bacteria_graph1.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
---
title: "bacteria_graph_1"
author: "Ilya"
date: "1/30/2019"
output: github_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
####install and load required packages
```{r packages, echo=FALSE}
source("packages_bacteria2.R")
```
###1. Get bacteria-caused dx in GIDEON
###2. Match dx to pathogen spp. names
###3. Match spp. names (from GIDEON zdx and GMPD) to traits (in GMPD & other)
###4. Compile master list of bacteria spp & traits
###5. Feature construction with bacterial traits
###6. Data visualization: summary “state of knowledge” on bacteria causing disease in mammals or humans
###7. Use traits to predict transmissibility and human disease outcomes
##6. Data visualization: summary “state of knowledge” on bacteria causing disease in mammals or humans
###Processing data
####load bacteria_pathogenic_mammals.Rdata and make graph of bacteria order vs. host order
```{r}
source("R_graph_pathogen_order_host_order1.R")
plot
```
####make graph of histogram of number of hosts per bacteria, across zoonotic categories (human only, zoonotic, wild only)
```{r}
source("R_bacteria_host_species_hist_graph1.R")
plot
```