read_symbol_map: Read marker symbol mappings

View source: R/crosswalks.R

read_symbol_mapR Documentation

Read marker symbol mappings

Description

read_symbol_map() reads MRK_List1.rpt data and returns an efficient data table to be used for marker symbol remapping.

This function is memoised.

Usage

read_symbol_map(report_file = NULL, n_max = Inf)

Arguments

report_file

The path to a MRK_List1.rpt file. Leave this as NULL and the function will automatically download the report from https://www.informatics.jax.org/downloads/reports/MRK_List1.rpt.

n_max

Maximum number of lines to read.

Value

A data.table where each row is a mapping, from marker_symbol to marker_symbol_now:

  • marker_symbol (set as key): marker symbol is a unique abbreviation of the marker name.

  • marker_symbol_now: genetic marker symbol replacement. If the record pertains a marker_symbol that was withdrawn, then marker_symbol_now indicates the most recent in-use marker symbol that replaced it.


mgi.report.reader documentation built on Sept. 11, 2024, 8:41 p.m.