Skip to contents

This function checks for sequences with bulges and filters them based on the presence of 'N' in the first nt positions.

Usage

check_bulges_nt(sequenceStringSet, nt = nt, return_allowed = TRUE)

Arguments

sequenceStringSet

An RNAStringSet object containing the sequences to be checked.

nt

An integer representing the length from the start of the sequence where bulges are not allowed.

return_allowed

A boolean indicating whether to return the allowed sequences (TRUE) or the removed sequences (FALSE).

Value

An RNAStringSet object containing either the allowed or removed sequences based on the return_allowed parameter.

Examples

if (FALSE) { # interactive()
}