Description Usage Arguments Value
Get vector of kmers from the given character vector or data frame.
1 2 3 4 5 6 7 8 9 10 | get.kmers(
.data,
.head = -1,
.k = 5,
.clean = T,
.meat = F,
.verbose = T,
.left.shift = 0,
.right.shift = 0
)
|
.data |
Either character vector or a data.frame. |
.head |
Parameter for head function applied to the given data before kmer generation. |
.k |
Size of the kmer. |
.clean |
if T then remove sequences which contain '~' or '*' symbols. Useful for deleting out-of-frame aminoacid sequnces. |
.meat |
if TRUE than .data must be data.frame with columns CDR3.amino.acid.sequence and Read.count. |
.verbose |
if T then print progress. |
.left.shift |
Cut all |
.right.shift |
Cut all |
Data.frame with 2 columns Kmers and Count / Rank / Proportion relatively to the .value param or a list with such data.frames if .data is a list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.