cr_source.default {RepertoiR} | R Documentation |
Visualized for CR Sources
Description
Visualization of Two clones for their convergent recombination (CR) sources. Each sequence (NT) is represented as a colored bar (red for A, yellow for G, blue for T and green for C) linked to its translated amino acid sequence by a colored line, red for the first clone and blue for the second.
Usage
## Default S3 method:
cr_source(clone1, clone2, ...)
Arguments
clone1 |
First vector of sequences, string-length is the same for each nucleotide sequence ('A', 'G', 'T', 'C'). |
clone2 |
Second vector of sequences, same string-length as for the first vector. |
... |
Any other arguments. |
Value
No return value.
Examples
nt <- c("A", "G", "C", "T")
seq_len <- 15
seq_n <- c(12, 7)
# Create data
c1 <- replicate(seq_n[1],
paste(sample(nt, seq_len, replace = TRUE), collapse = ''))
c2 <- replicate(seq_n[2],
paste(sample(nt, seq_len, replace = TRUE), collapse = ''))
cr_source(c1, c2)
[Package RepertoiR version 0.0.1 Index]