Learn R Programming

seqmagick (version 0.1.7)

bs_filter: bs_filter

Description

biological sequence filter by searching pattern

Usage

bs_filter(x, pattern, by = "description", ignore.case = FALSE)

Value

BStringSet object

Arguments

x

BStringSet object

pattern

keyword for filter

by

one of 'description' and 'sequence'

ignore.case

logical

Author

Guangchuang Yu

Examples

Run this code
fa_file <- system.file("extdata/HA.fas", package="seqmagick")
x <- fa_read(fa_file)
bs_filter(x, 'ATGAAAGTAAAA', by='sequence')

Run the code above in your browser using DataLab