Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/accepted.amplicons.R
Returns the indices of those amplicons in an ampliconduo data frame, that passed the applied filter criteria (ampliconduo data frames are filtered using the filter.ampliconduo
or filter.ampliconduo.set
function).
1 |
x |
An ampliconduo data frame or a list of ampliconduo data frames. |
Calling this function on an ampliconduo data frame, or a list of the latter, returns the indices of amplicons that passed the applied filter criteria. For each ampliconduo data frame an integer vector is created, and if a list of ampliconduo data frames is supplied with x
, these are pooled in a list.
The returned indices correspond to the data originally used to generate the ampliconduo data frames (parameter A
and B
in the ampliconduo
function call).
If x
is an ampliconduo data frame, an integer vector is returned.
In case x
is a list of ampliconduo data frames, a list of integer
vectors is returned, one for each data frame.
Anja Lange & Daniel Hoffmann
filter.ampliconduo
and filter.ampliconduo.set
1 2 3 4 5 6 7 8 | ## load example data
data(amplicons)
## apply filter criteria
ampliconduos.f <- filter.ampliconduo.set(amplicons, q = 0.05)
## return a list with accepted amplicons
good.reads <- accepted.amplicons(ampliconduos.f)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.