bs_filter {seqmagick} | R Documentation |
bs_filter
Description
biological sequence filter by searching pattern
Usage
bs_filter(x, pattern, by = "description", ignore.case = FALSE)
Arguments
x |
BStringSet object |
pattern |
keyword for filter |
by |
one of 'description' and 'sequence' |
ignore.case |
logical |
Value
BStringSet object
Author(s)
Guangchuang Yu
Examples
fa_file <- system.file("extdata/HA.fas", package="seqmagick")
x <- fa_read(fa_file)
bs_filter(x, 'ATGAAAGTAAAA', by='sequence')
[Package seqmagick version 0.1.7 Index]