Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mosquito-Rajshahi

mosquito-Rajshahi code repository

This repository contains all files needed to run the analyses in:

Lord, JS, HM Al-amin, S Chakma, S Alam, ES Gurley, and JRC Pulliam. Sampling design influences the observed dominance of Culex tritaeniorhynchus: implications for understanding the Japanese encephalitis virus transmission cycle .

The code is made available under a Creative Commons Attribution 4.0 International License. You are free to reuse this code provided that you give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. Giving appropriate credit includes citation of the above publication and providing a link to this repository:

https://github.com/PulliamLab-UFL/mosquito-Rajshahi

Creative Commons License

We suggest you open this project file file in R Studio. The files that form part of this project file are detailed below and are split so that different levels of detail can be observed. If you want to view the tables and figures only then run

These files plus the database are explained briefly below:

Data

  • Moz.db - this sqlite database file contains the raw data. It contains data for the eight villages included in analyses for the manuscript in addition to two additional villages for which there are no household host data.

Data preparation

  • db_queries.R - queries Moz.db and retrieves the required data
  • data_prep.R - uses the query results from db_queries.R and reshapes the data into the required formats

Tables

  • tables.write - creates and writes all the manuscript tables to file

Figures

  • figures.R - produces all the manuscript figures

Analyses

  • prop.ci.R - calculates confidence intervals for proportion data for table 1
  • hills.d.R - calculates Hills Diversity Numbers for table 2
  • table4.R - produces the mosquito species abundance data required for table 4
  • fig1.R - species accumulation curve for figure 1
  • fig2.R - log odds ratio test for figure 2
  • fig3.4.R - linear regression for figures 3 and 4 and table 3
  • fig5.R - produces the mosquito species proportions required for figure 5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors