sortChrom: Sort reads parts according to their chromosome number

Description Usage Arguments Value Examples

View source: R/findBreak.R

Description

Sort reads parts according to their chromosome number

Usage

1
sortChrom(lists)

Arguments

lists

A line including read part information of one read with chromosome number

Value

A line whose chromosome number has been ordered.

Examples

1
2
3
4
bedFile2 <- rtracklayer::import(system.file('extdata', 'test_file_2.bed', package = 'BreakViz'), format = 'bed')
dupFiltedBedFile2 <- readRDS(system.file('extdata', 'dupFiltedBedFile2.Rda', package = 'BreakViz'))
lists <- bedFile2[which(bedFile2$name == dupFiltedBedFile2$Var1[1])]
sortChrom(lists)

Yin1012/BreakViz documentation built on May 14, 2019, 4:01 a.m.