Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

prewas: data pre-processing for more informative bacterial GWAS

CRAN_Status_Badge

Introduction

The prewas R package allows users to create a binary SNP matrix from a whole genome alignment. The SNP matrix includes the following features: (1) multiple line representation of multiallelic sites, (2) multiple line representation for SNPs present in overlapping genes, and (3) choice over the reference allele. Additionally, users can collapse SNPs into genes so the output is a binary gene matrix. Output from the prewas package should be used as the input to bacterial GWAS tools such as hogwash.

Installation

To install prewas follow these commands in R:

install.packages("prewas")
library(prewas)

Note: this package depends on R (>= 3.5.0).

For the most up-to-date package, it is recommended to install using dev.tools:

install.packages("devtools")
devtools::install_github("Snitkin-Lab-Umich/prewas")
library(prewas)

Documentation

prewas is described in the paper: "prewas: data pre-processing for more informative bacterial GWAS". The Rscripts and data for the paper's figures and analyses can be found in the manuscript analysis repository.

A tutorial explaining how to use the package can be found in the vignette.

Contributors

Katie Saund, Stephanie Thiede, and Zena Lapp contributed to this code.

Questions

Please open an issue or contact Evan Snitkin (esnitkin@umich.edu) with any questions.

About

R package to perform data pre-processing for more informative bacterial GWAS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages