R/nr_lines_per_seq.R

Defines functions nr_lines_per_seq

nr_lines_per_seq <- function(alignment, line_width) {

  ncol(alignment) %/% line_width + as.logical(ncol(alignment) %% line_width)
}

Try the agvgd package in your browser

Any scripts or data that you put into this service are public.

agvgd documentation built on Sept. 11, 2022, 1:07 a.m.