Learn R Programming

misha (version 4.2.9)

gintervals.load_chain: Loads assembly conversion table from a chain file

Description

Loads assembly conversion table from a chain file.

Usage

gintervals.load_chain(file = NULL)

Value

A data frame representing assembly conversion table.

Arguments

file

name of chain file

Details

This function reads a file in 'chain' format and returns assembly conversion table that can be used in 'gtrack.liftover' and 'gintervals.liftover'.

Note: chain file might map a few different source intervals into a single target one. These ambiguous mappings are not presented in the data frame returned by 'gintervals.load_chain'.

See Also

gintervals.liftover, gtrack.liftover

Examples

Run this code
# \dontshow{
options(gmax.processes = 2)
# }

gdb.init_examples()
chainfile <- paste(.misha$GROOT, "data/test.chain", sep = "/")
gintervals.load_chain(chainfile)

Run the code above in your browser using DataLab