View source: R/haplo_selection.R
haplo_selection | R Documentation |
This function applies a series of filters on the genotype data provided (either in vcf or hapmap format) and outputs a list of markers kept at different stages of the analysis.
haplo_selection(analysis_parameters, snp_data = NULL, verbose = TRUE)
analysis_parameters |
a list of analysis parameters generated by the function
|
snp_data |
To be completed. |
verbose |
To be completed. |
The behaviour of the function can be finely tuned by providing the function call
with an analysis_parameters
object with appropriate contents.
See function genotype.filter
for a list of criteria used to filter the
markers kept for haplotype generation.
So far, the function can only take hapmap and vcf files as input. The name of the input file must be provided in the list of analysis parameters, but there should also be an option allowing the user to provide a genotype object as input to this function. This would allow the user an easier way to look at their input data before carrying the analysis.
A snp_data containing the subset of the chosen markers.
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.