Description Usage Arguments Value See Also Examples
Apply a filter to a sam object, returning a logical vector specifying which
reads match the filter, i.e. the result of the filter FUNC
for each
read. Uses adply
to apply this filter to each read
alignment. Many of the parameters are just pass-through parameters for
adply
. These all begin with a ".
" to distinguish
them from potential parameters to the function as they come after the
...
in the function definition. No attempt is made to keep or delete
both ends of a paired end read if one end passes and one end fails the
filter.
1 2 |
sam |
A Sam object |
FUNC |
A function whose first parameter is a single read and that
returns a single |
... |
Other parameters to pass to |
.progress |
Progress bar; see |
.inform |
Extra error handling; see |
.parallel |
Use the parallel package; see |
.paropts |
Options if using the parallel package; see |
.id |
Id column; see |
A logical vector with TRUE
for each read that passed the
filter FUNC
and FALSE
otherwise.
Sam, readIsChimeric,
1 2 3 4 5 | ## Not run:
sam <- Sam("someFile")
hivIntegrationSelect <- samReadFilter( sam, "readIsOnRef", "^chrMT$" )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.