powered by
Given a vector of marker names or numbers, this function returns the genomic coordinates for each marker, not including the chromosome number, which is retrieved using get_marker_chr.
get_marker_chr
get_marker_location(data_obj, markers)
a Cape object
Cape
A vector of marker names
A vector the same length as the input markers vector indicating the genomic coordinate of each marker.
# NOT RUN { marker_names <- dimnames(geno_obj)[[3]] marker_loc <- get_marker_location(data_obj, marker_names) # } # NOT RUN { # }
Run the code above in your browser using DataLab