#' @title Exclude markers depending on proportions of homo/hetorozygous
#'
#' @description 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.
#' @description 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.
#' @param tab data frame obtained with tab_mark function.
#' @param cross F2 or N2.
#' @param 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.
...
...
@@ -15,17 +15,12 @@
#### mark_prop ####
## excludes markers depending on proportions of homo/hetorozygous
\title{Exclude markers depending on proportions of homo/hetorozygous}
\usage{
mark_prop(tab, cross, homo = NA, hetero = NA, na = 0.5)
mark_prop(tab, cross, homo = NA, hetero = NA, pval = NA, na = 0.5)
}
\arguments{
\item{tab}{data frame obtained with tab_mark function.}
...
...
@@ -18,5 +18,5 @@ mark_prop(tab, cross, homo = NA, hetero = NA, na = 0.5)
\item{na}{proportion of non-genotyped individuals above which the marker is excluded.}
}
\description{
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.
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.