pnuc_homo_genotype.Rd 707 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/genotype.R
\name{pnuc_homo_genotype}
\alias{pnuc_homo_genotype}
\title{Compute probability of nucleotide observation 
knowning an homozygote genotype.}
\usage{
pnuc_homo_genotype(haplotype, sequencing.error)
}
\arguments{
\item{haplotype}{a character indicating the first haplotype
(A, C, G, ou T)}

\item{sequencing.error}{a numeric ranging betweing 0 and 1
indicating the sequencing error rate}
}
\value{
a vector of four probabilities for A, C, G and T 
        observations
}
\description{
Compute probability of nucleotide observation 
knowning an homozygote genotype.
}
\examples{
  pnuc_hetero_genotype("A","T",0.01)
  
}