convert_polyRAD: Convert (probabilistic) genotype calling results from polyRAD...

View source: R/exported_functions.R

convert_polyRADR Documentation

Convert (probabilistic) genotype calling results from polyRAD to input compatible with polymapR

Description

Convert (probabilistic) genotype calling results from polyRAD to input compatible with polymapR

Usage

convert_polyRAD(RADdata)

Arguments

RADdata

An RADdata (S3 class) object; output of the function PipelineMapping2Parents having followed the prior steps needed in the polyRAD pipeline. See the polyRAD vignette for details.

Value

A data frame which include columns: MarkerName, SampleName,P0 ~ Pploidy (e.g. P0 ~ P4 for tetraploid, which represents the probability assigning to this dosage), maxgeno (the most likely dosage), and maxP (the maximum probability)

Examples

data("exampleRAD_mapping")
convert_polyRAD(RADdata = exampleRAD_mapping)

polymapR documentation built on Nov. 5, 2023, 1:09 a.m.