countKmer | R Documentation |
Calculate counts of k-mers in the query nucleotide sequence
countKmer(study_table, k, separate = TRUE)
study_table |
A tibble consisting of antigen receptor
sequencing imported by the LymphoSeq2 function |
k |
The length of k-mers to find. |
separate |
A boolean value.
|
A tibble with the k-mer and its counts. The counts can be cumulative counts of the entire study_table or counts for each repertoire_id.
file_path <- system.file("extdata", "TCRB_sequencing",
package = "LymphoSeq2")
study_table <- LymphoSeq2::readImmunoSeq(path = file_path, threads = 1)
study_table <- LymphoSeq2::topSeqs(study_table, top = 100)
kmer_table <- LymphoSeq2::countKmer(
study_table = study_table, k = 5,
separate = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.