Learn R Programming

mappoly (version 0.2.0)

import_data_from_polymapR: Import data from polymapR

Description

Function to import datasets from polymapR

Usage

import_data_from_polymapR(
  input.data,
  ploidy,
  parent1 = "P1",
  parent2 = "P2",
  filter.non.conforming = TRUE
)

Arguments

input.data

a polymapR dataset

ploidy

the ploidy level

parent1

name of parent 1

parent2

name of parent 2

filter.non.conforming

if TRUE (default) exclude samples with non expected genotypes under no double reduction

References

Bourke PM et al: (2019) PolymapR <U+2014> linkage analysis and genetic map construction from F1 populations of outcrossing polyploids. _Bioinformatics_ 34:3496<U+2013>3502. https://doi.org/10.1093/bioinformatics/bty1002

Mollinari, M., and Garcia, A. A. F. (2019) Linkage analysis and haplotype phasing in experimental autopolyploid populations with high ploidy level using hidden Markov models, _G3: Genes, Genomes, Genetics_. https://doi.org/10.1534/g3.119.400378

Examples

Run this code
# NOT RUN {
require(polymapR)
data("screened_data3")
mappoly.data <- import_data_from_polymapR(screened_data3, 4)
plot(mappoly.data)

# }

Run the code above in your browser using DataLab