filter_prob | R Documentation |
Function filter genotypes by genotype probability
filter_prob(onemap.obj = NULL, threshold = 0.8, verbose = TRUE)
onemap.obj |
an object of class |
threshold |
a numeric from 0 to 1 to define the threshold for the probability of the called genotype (highest probability) |
verbose |
If |
An object of class onemap
, i.e., a list with the following
components:
geno |
a matrix with integers indicating the genotypes read for each marker. Each column contains data for a marker and each row represents an individual. |
n.ind |
number of individuals. |
n.mar |
number of markers. |
segr.type |
a vector with the
segregation type of each marker, as |
segr.type.num |
a
vector with the segregation type of each marker, represented in a
simplified manner as integers, i.e. 1 corresponds to markers of type
|
input |
the name of the input file. |
n.phe |
number of phenotypes. |
pheno |
a matrix with phenotypic values. Each column contains data for a trait and each row represents an individual. |
error |
matrix containing HMM emission probabilities |
Cristiane Taniguti, chtaniguti@tamu.edu
data(onemap_example_out) filt_obj <- filter_prob(onemap_example_out, threshold=0.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.