mark_prop.Rd 962 Bytes
Newer Older
Marie  BOURDON's avatar
Marie BOURDON committed
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's avatar
Marie Bourdon committed
7
mark_prop(tab, cross, homo = NA, hetero = NA, pval = NA, na = 0.5)
Marie  BOURDON's avatar
Marie BOURDON committed
8
9
}
\arguments{
Marie Bourdon's avatar
Marie Bourdon committed
10
\item{tab}{data frame obtained with tab_mark function.}
Marie  BOURDON's avatar
Marie BOURDON committed
11

Marie Bourdon's avatar
Marie Bourdon committed
12
\item{cross}{F2 or N2.}
Marie  BOURDON's avatar
Marie BOURDON committed
13

Marie Bourdon's avatar
Marie Bourdon committed
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's avatar
Marie BOURDON committed
15

Marie Bourdon's avatar
Marie Bourdon committed
16
\item{hetero}{proportion of heterozygous individuals under which the marker is excluded.}
Marie  BOURDON's avatar
Marie BOURDON committed
17

Marie Bourdon's avatar
Marie Bourdon committed
18
\item{na}{proportion of non-genotyped individuals above which the marker is excluded.}
Marie  BOURDON's avatar
Marie BOURDON committed
19
20
}
\description{
Marie Bourdon's avatar
Marie Bourdon committed
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's avatar
Marie BOURDON committed
22
}