Package 'PGEhammer'

Title: What the Package Does (Title Case)
Description: A series of utility functions that improve the experience of working with other software tools in Plasmodium genomic epidemiology. This includes functions for wrangling data and visualising outputs. Part of the PGEforge set of resources.
Authors: Bob Verity [aut, cre], Shazia Ruybal [aut]
Maintainer: Bob Verity <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0
Built: 2024-11-08 03:26:56 UTC
Source: https://github.com/mrc-ide/PGEhammer

Help Index


PGEhammer

Description

A series of utility functions that improve the experience of working with other software tools in Plasmodium genomic epidemiology. This includes functions for wrangling data and visualising outputs. Part of the PGEforge set of resources.


Square a vector of values

Description

Simple test function that demonstrates some of the features of this package by squaring an input vector of values.

Usage

square(x = 1:5)

Arguments

x

vector of values.

Examples

# Find square of first 100 values
square(1:100)

Convert vcf to long format

Description

Convert a vcf into a long format data frame with sample ID, locus, alleles and read counts for each allele.

Usage

vcf2long(vcf)

Arguments

vcf

object of class vcfR