Last chance! 50% off unlimited learning
Sale ends in
This function manipulates consolidated marker data and egg count data to prepare them for further analysis.
PCDM(consolidated_marker = data.frame, eggcount = data.frame, marker_name)
A dataframe containing the allele frequencies and eggcounts for each sample.
A data frame containing consolidated marker data.
A data frame containing egg count data.
A string specifying the marker name.
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")
Run the code above in your browser using DataLab