sub-.bstr.Rd
subsetting bstr class object
# S3 method for bstr [(x, ..., drop = F)
x | x |
---|---|
... | ... |
drop | drop |
#> class: dstr,bstr,character #> number of sequences: 3 #> [1] no name 1 : CCGTATTGGA 10 #> [2] no name 2 : AAGCTCGTCT 10 #> [3] no name 3 : TAGACCACTC 10test[1]#> class: dstr,bstr,character #> number of sequences: 1 #> [1] no name 1 : CCGTATTGGA 10test[2:1]#> class: dstr,bstr,character #> number of sequences: 2 #> [1] no name 2 : AAGCTCGTCT 10 #> [2] no name 1 : CCGTATTGGA 10test[2] <- "mutated" test#> class: dstr,bstr,character #> number of sequences: 3 #> [1] no name 1 : CCGTATTGGA 10 #> [2] no name 2 : mutated 7 #> [3] no name 3 : TAGACCACTC 10