Learn R Programming

Package Overview

pooledpeaks is designed for analyzing genetic data obtained from Fragment Analysis output files (.fsa) of pooled biological samples. It provides functions for a comprehensive analysis pipeline from processing .fsa files, to cleaning the peak data, and conducting population genetic analyses. Some features are listed below and a usage example of the entire pipeline is included as a vignette. Please check out the Contributing Guidelines for information on how to add to this package.

Installation Instructions

You can install the package directly from GitHub using the following instructions:

Open R and copy the following code into your console

Install devtools and pooledpeaks from GitHub

install.packages("devtools")
devtools::install_github("kmkuesters/pooledpeaks")

Install pooledpeaks directly from CRAN

install.packages("pooledpeaks")

Features

For a detailed example of how to apply the functions contained in this package please see the Introduction to Using the pooledpeaks Workflow. Example data can be found on GitHub under the inst/extdata folder including .fsa files and a formatted "Multiplex_frequencies.txt" file for the Genetic Analysis portion.

  • Peak Scoring: Process .fsa files and score peaks contained therein.
check_fsa_v_batch()
fsa_metadata()
fsa_batch_imp()
associate_dyes()
score_markers_rev3()
  • Data Manipulation: Clean and prepare peak data for downstream analyses.
clean_scores()
lf_to_tdf()
data_manipulation()
Rep_check()
PCDM()
LoadData()
  • Population Genetics Analysis:

    • Calculate Gene Identity Matrix and Genetic Distance Matrix

    • Calculate diversity indices

    • Calculate differentiation indices

    • Perform cluster analysis

TypedLoci()
GeneIdentityMatrix()
GeneticDistanceMatrix()
GST()
JostD()
cluster()
  • Visualization: Visualize the peak scoring and genetic analysis results.
MDSplot()

The pooledpeaks package was developed by the Blanton Lab as part of Kathleen Kuesters' dissertation.

References:

Copy Link

Version

Install

install.packages('pooledpeaks')

Monthly Downloads

276

Version

1.1.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Kathleen Kuesters

Last Published

March 14th, 2025

Functions in pooledpeaks (1.1.1)

data_manipulation

Data Manipulation for Marker Data
clean_scores

Clean Scores Data
fsa_batch_imp

Batch Import of .fsa files
pooledpeaks-package

pooledpeaks: Genetic Analysis of Pooled Samples
preGST

Pre GST Calculation
lf_to_tdf

Transform LF to TDF
fsa_metadata

Retrieve Metadata
cluster

K-means Clustering
preJostD

Calculate Pre-Jost's D
score_markers_rev3

Score Markers Wrapper
SampleOfLoci

Sample Of Loci
EmpiricalSE

Calculate Empirical Standard Error
GST

Nei's GST
ClusterFromSamples

Cluster From Samples
DistCor

Distance Correlation
LoadData

Load Genetic Data
MDSplot

Multi Dimensional Scaling (MDS) Plot
RWCDistanceMatrix

Random Walk Covariance Distance Matrix
PCDM

Post-consolidation Data Manipulation
JostD_KK

Pairwise Jost D between replicates
AlRich

Calculate Allelic Richness
BootStrap3

Perform Bootstrap Analysis
GeneticDistanceMatrix

Genetic Distance Matrix
GeneIdentityMatrix

Gene Identity Matrix
JostD

Calculate Jost's D
check_fsa_v_batch

Check .fsa Version and Batch Information
TypedLoci

Typed Loci
associate_dyes

Associate Dye Names in Batch Import Output
TwoLevelGST

Calculate Two-Level GST
Rep_check

Replicate Check for Duplicate Samples