geneFreq | R Documentation |
Creates a data frame of VDJ gene counts and frequencies.
geneFreq(productive_nt, locus = "V|D|J", family = FALSE)
productive_nt |
A tibble of productive sequences generated by the LymphoSeq function productiveSeq where the parameter aggregate is set to "nucleotide". |
locus |
A character vector indicating which VDJ genes to include in the output. Available options include "VDJ", "DJ", "VJ", "DJ", "V", "D", or "J". |
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 \ 100\
file_path <- system.file("extdata", "TCRB_sequencing", package = "LymphoSeq2") stable <- readImmunoSeq(path = file_path) ntable <- productiveSeq(study_table = stable, aggregate = "nucleotide") geneFreq(ntable, locus = "VDJ", family = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.