load_alignment: Load alignments between optical maps

Description Usage Arguments Value See Also

View source: R/load_alignment.R

Description

BioNano optical maps can be aligned to each other. Normally, the alignment results are saved into three files, named as "xxx.xmap", "xxx_r.xmap" and "xxx_q.xmap".

Usage

1
2
load_alignment(file, ref_file, qry_file, sort = FALSE,
  expandHitEnum = FALSE)

Arguments

file

xmap ('xxx.xmap') file to load

ref_file

reference cmap ('xxx_r.cmap') file to load

qry_file

query cmap ('xxx_q.cmap') file to load

sort

logical. If "TRUE", the results will be sorted by genomic coordinates, otherwise to keep order as in file

expandHitEnum

logical. If "TRUE", the 'hitEnum' field will be parsed

Value

'load_alignment()' returns a list, which contains three data frames, named as 'xmap', 'ref' and 'qry'.

See Also

read_xmap read_cmap


yanlinlin82/Rbionano documentation built on Dec. 26, 2019, 7:37 a.m.