get_readlens: Select those read lengths which make up 95% of the reads

View source: R/get_ritpms.R

get_readlensR Documentation

Select those read lengths which make up 95% of the reads

Description

This function takes in a vector of the lengths of each read, and determines which read lengths should be included in order to filter out the 2.5% shortest/longest reads.

Usage

get_readlens(readlens)

Arguments

readlens

Numeric; numeric vector

Value

a numeric integer vector, such that selecting reads with these lengths will preserve at least 95% of reads

Author(s)

Dermot Harnett, dermot.p.harnett@gmail.com


zslastman/RiboStan documentation built on April 6, 2024, 1:35 p.m.