assign_n_per_seq: Distribute the overall number of baits by the multiple...

Description Usage Arguments Value

View source: R/do_baits.R

Description

Distribute the overall number of baits by the multiple sequences

Usage

1
assign_n_per_seq(the.lengths, n, min.per.seq, size)

Arguments

the.lengths

a dataframe with the length of each sequence, and the respective proportion of the overall size.

n

Number of baits to generate (distributed across the various sequences).

min.per.seq

Minimum number of baits per sequence. Defaults to 1.

size

The size of each bait

Value

An updated the.lengths dataframe, with the number of baits to be extracted per sequence.


BelenJM/supeRbaits documentation built on Jan. 28, 2022, 1:44 a.m.