Learn R Programming

pafr (version 0.0.2)

chrom_sizes: Extract the sizes of all sequences in a paf alignment

Description

Extract the sizes of all sequences in a paf alignment

Usage

chrom_sizes(ali)

Arguments

ali

pafr or tibble containing the genome alignment (as returned by read_paf)

Value

list with two elements (tlens and qlens) Each element is a dataframe with one column of sequence names and another column containing the length of each sequence

Examples

Run this code
# NOT RUN {
ali <- read_paf( system.file("extdata", "fungi.paf", package="pafr") )
chrom_sizes(ali)
# }

Run the code above in your browser using DataLab