mark_prop.Rd 962 Bytes
 Marie BOURDON committed May 20, 2021 1 2 3 4 5 6 % Generated by roxygen2: do not edit by hand % Please edit documentation in R/mark_prop.R \name{mark_prop} \alias{mark_prop} \title{Exclude markers depending on proportions of homo/hetorozygous} \usage{  Marie Bourdon committed Jun 22, 2021 7 mark_prop(tab, cross, homo = NA, hetero = NA, pval = NA, na = 0.5)  Marie BOURDON committed May 20, 2021 8 9 } \arguments{  Marie Bourdon committed May 31, 2021 10 \item{tab}{data frame obtained with tab_mark function.}  Marie BOURDON committed May 20, 2021 11   Marie Bourdon committed May 31, 2021 12 \item{cross}{F2 or N2.}  Marie BOURDON committed May 20, 2021 13   Marie Bourdon committed May 31, 2021 14 \item{homo}{proportion of homozygous individuals under which the marker is excluded. Will apply on both homozygous genotypes for a F2, but only on one for N2.}  Marie BOURDON committed May 20, 2021 15   Marie Bourdon committed May 31, 2021 16 \item{hetero}{proportion of heterozygous individuals under which the marker is excluded.}  Marie BOURDON committed May 20, 2021 17   Marie Bourdon committed May 31, 2021 18 \item{na}{proportion of non-genotyped individuals above which the marker is excluded.}  Marie BOURDON committed May 20, 2021 19 20 } \description{  Marie Bourdon committed Jun 22, 2021 21 This function uses the dataframe produced by the tab_mark function and fills the "exclude" column for all the markers that present odd proportions of each genotype. You can define these proportions thanks to the arguments of the function.  Marie BOURDON committed May 20, 2021 22 }