PCDM | R Documentation |
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)
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. |
A dataframe containing the allele frequencies and eggcounts for each sample.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.