geneFreq | R Documentation |
Creates a data frame of VDJ gene counts and frequencies.
geneFreq(nucleotide_table, locus = "VDJ", family = FALSE)
nucleotide_table |
A tibble of productive sequences
generated by the LymphoSeq2 function |
locus |
A character vector indicating which VDJ genes to include in the
output. Available options include |
family |
A Boolean value indicating whether or not family names instead of gene names are used. If TRUE, then family names are used and if FALSE, gene names are used. |
Returns a data frame with the repertoire_id names, VDJ gene name, duplicate_count, and \ frequency should add to 100\
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)
nucleotide_table <- LymphoSeq2::productiveSeq(
study_table = study_table,
aggregate = "junction"
)
LymphoSeq2::geneFreq(nucleotide_table, locus = "VDJ", family = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.