powered by
Convert a marker map organized as a list to a data frame
map_list_to_df( map_list, chr_column = "chr", pos_column = "pos", marker_column = "marker" )
A data frame with the marker positions.
List of vectors containing marker positions
Name of the chromosome column in the output
Name of the position column in the output
Name of the marker column in the output. If NULL, just put them as row names.
map_df_to_list()
library(qtl2) iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2")) iron_map <- map_list_to_df(iron$gmap)
Run the code above in your browser using DataLab