isBimera | R Documentation |
This function attempts to find an exact bimera of the parent sequences that matches the input sequence. A bimera is a two-parent chimera, in which the left side is made up of one parent sequence, and the right-side made up of a second parent sequence. If an exact bimera is found TRUE is returned, otherwise FALSE. Bimeras that are one-off from exact are also identified if the allowOneOff argument is TRUE.
isBimera(
sq,
parents,
allowOneOff = FALSE,
minOneOffParentDistance = 4,
maxShift = 16
)
sq |
(Required). A |
parents |
(Required). Character vector. A vector of possible "parent" sequence that could form the left and right sides of the bimera. |
allowOneOff |
(Optional). A |
minOneOffParentDistance |
(Optional). A |
maxShift |
(Optional). A |
logical(1)
.
TRUE if sq is a bimera of two of the parents. Otherwise FALSE.
isBimeraDenovo
, removeBimeraDenovo
derep1 = derepFastq(system.file("extdata", "sam1F.fastq.gz", package="dada2"))
sqs1 <- getSequences(derep1)
isBimera(sqs1[[20]], sqs1[1:10])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.