PCDM {pooledpeaks}R Documentation

Post-consolidation Data Manipulation

Description

This function manipulates consolidated marker data and egg count data to prepare them for further analysis.

Usage

PCDM(consolidated_marker = data.frame, eggcount = data.frame, marker_name)

Arguments

consolidated_marker

A data frame containing consolidated marker data.

eggcount

A data frame containing egg count data.

marker_name

A string specifying the marker name.

Value

A dataframe containing the allele frequencies and eggcounts for each sample.

Examples

marker_data <- data.frame(
Sample1 = c(400, 600, 700),
Sample2 = c(450, 550, 480),
Sample3 = c(300, 200, 500),
row.names=c(185,188,191)
)

eggs<-data.frame(
ID=c("Sample1","Sample2","Sample3"),n=c(3000,400,50))

PCDM(consolidated_marker=marker_data, eggcount= eggs,"SMMS2")


[Package pooledpeaks version 1.2.2 Index]