Learn R Programming

onemap (version 3.2.1)

Construction of Genetic Maps in Experimental Crosses

Description

Analysis of molecular marker data from model and non-model systems. For the later, it allows statistical analysis by simultaneously estimating linkage and linkage phases (genetic map construction) according to Wu and colleagues (2002) . All analysis are based on multi-point approaches using hidden Markov models.

Copy Link

Version

Install

install.packages('onemap')

Monthly Downloads

162

Version

3.2.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Cristiane Taniguti

Last Published

April 25th, 2025

Functions in onemap (3.2.1)

drop_marker

Creates a new sequence by dropping markers.
export_mappoly_genoprob

Export genotype probabilities in MAPpoly format (input for QTLpoly)
empty_onemap_obj

Produce empty object to avoid code break. Function for internal purpose.
draw_map2

Draw a linkage map
draw_map

Draw a genetic map
export_viewpoly

Export OneMap maps to be visualized in VIEWpoly
edit_order_onemap

Edit sequence ordered by reference genome positions comparing to another set order
filter_2pts_gaps

Filter markers based on 2pts distance
haldane

Apply Haldane mapping function
extract_depth

Extract allele counts of progeny and parents of vcf file
generate_overlapping_batches

Function to divide the sequence in batches with user defined size
find_bins

Allocate markers into bins
group_upgma

Assign markers to linkage groups
create_probs

Build genotype probabilities matrix for hmm
keep_only_selected_mks

Keep in the onemap and twopts object only markers in the sequences
est_map_hmm_out

C++ routine for multipoint analysis in outcrossing populations
group

Assign markers to linkage groups
kosambi

Apply Kosambi mapping function
group_seq

Assign markers to preexisting linkage groups
create_depths_profile

Create database and ggplot graphic of allele reads depths
load_onemap_sequences

Load list of sequences saved by save_onemap_sequences
map_avoid_unlinked

Repeat HMM if map find unlinked marker
make_seq

Create a sequence of markers based on other OneMap object types
mapmaker_example_f2

Simulated data from a F2 population
map

Construct the linkage map for a sequence of markers
marker_type

Informs the segregation patterns of markers
filter_prob

Function filter genotypes by genotype probability
map_save_ram

Perform map using background objects with only selected markers. It saves ram memory during the procedure. It is useful if dealing with many markers in total data set.
filter_missing

Filter markers according with a missing data threshold
map_overlapping_batches

Mapping overlapping batches
onemap_example_f2

Simulated data from a F2 population
parents_haplotypes

Generates data.frame with parents estimated haplotypes
plot_genome_vs_cm

Draws a physical vs cM map
onemap_read_vcfR

Convert vcf file to onemap object
print.compare

print method for object class 'compare'
pick_batch_sizes

Picking optimal batch size values
onemap_example_riself

Simulated data from a RIL population produced by selfing.
mds_onemap

OneMap interface with MDSMap package with option for multipoint distances estimation
onemap_example_bc

Simulated data from a backcross population
print.group

Show the results of grouping procedure
progeny_haplotypes

Generate data.frame with genotypes estimated by HMM and its probabilities
onemap_example_out

Data from a full-sib family derived from two outbred parents
print.group.upgma

Show the results of grouping procedure
plot.onemap_progeny_haplotypes

Plots progeny haplotypes
plot.onemap_progeny_haplotypes_counts

Plot recombination breakpoints counts for each individual
print.onemap_bin

print method for object class 'onemap_bin'
plot.onemap

Draw a graphic of raw data for any OneMap population
ord_by_geno

Order the markers in a sequence using the genomic position
order_seq

Search for the best order of markers combining compare and try_seq functions
plot.onemap_segreg_test

Plot p-values for chi-square tests of expected segregation
print.order

Print order_seq object
print.sequence

Print method for object class 'sequence'
plot_by_segreg_type

Draw a graphic showing the number of markers of each segregation pattern.
plot.group.upgma

Show the results of grouping procedure
print.group_seq

Show the results of grouping markers to preexisting sequence
progeny_haplotypes_counts

Plot number of breakpoints by individuals
print.onemap_segreg_test

Show the results of segregation tests
print.try

Print method for object class 'try'
rf_2pts

Two-point analysis between genetic markers
print.rf_2pts

Print method for object class 'rf_2pts'
rm_dupli_mks

Remove duplicated markers keeping the one with less missing data
remove_inds

Remove individuals from the onemap object
read_mapmaker

Read data from a Mapmaker raw file
rcd

Rapid Chain Delineation
record

Recombination Counting and Ordering
ripple_seq

Compares and displays plausible alternative orders for a given linkage group
read_onemap

Read data from all types of progenies supported by OneMap
set_map_fun

Defines the default mapping function
seriation

Seriation
simu_example_f2

Simulated data from a f2 intercross population
print.onemap

Print method for object class 'onemap'
try_seq_by_seq

Run try_seq considering previous sequence
simu_example_bc

Simulated data from a backcross population
try_seq

Try to map a marker into every possible position between markers in a given map
sort_by_pos

Sort markers in onemap object by their position in reference genome
simu_example_out

Simulated data from a outcrossing population
suggest_lod

Suggests a LOD Score for two point tests
summary_maps_onemap

Create table with summary information about the linkage map
test_segregation

test_segregation
seq_by_type

Extract marker number by name
select_segreg

Show markers with/without segregation distortion
test_segregation_of_a_marker

test_segregation_of_a_marker
write_map

Write a genetic map to a file
write_onemap_raw

Convert onemap object to onemap raw file
split_2pts

Split rf_2pts object by markers
save_onemap_sequences

Save a list of onemap sequence objects
rf_snp_filter_onemap

Filter markers according with a two-points recombination fraction and LOD threshold. Adapted from MAPpoly.
seeded_map

Construct the linkage map for a sequence of markers after seeding phases
rf_graph_table

Plots pairwise recombination fractions and LOD Scores in a heatmap
split_onemap

Split onemap data sets
vcf_example_bc

Data generated from VCF file with biallelic markers from a f2 backcross population
vcf_example_riself

Data generated from VCF file with biallelic markers from a RIL population produced by selfing
vcf_example_out

Data generated from VCF file with biallelic markers from a full-sib family derived from two outbred parents
vcf_example_f2

Data generated from VCF file with biallelic markers from a f2 intercross population
ug

Unidirectional Growth
vcf2raw

These functions are defunct and no longer available.
add_marker

Creates a new sequence by adding markers.
Bonferroni_alpha

Calculates individual significance level to be used to achieve a global alpha (with Bonferroni)
add_redundants

Add the redundant markers removed by create_data_bins function
acum

Perform gaussian sum
create_dataframe_for_plot_outcross

Create a dataframe suitable for a ggplot2 graphic
check_twopts

Twopts object sanity check
check_data

Onemap object sanity check
compare

Compare all possible orders (exhaustive search) for a given sequence of markers
combine_onemap

Combine OneMap datasets
create_data_bins

New dataset based on bins