View source: R/commonSeqsVenn.R
commonSeqsVenn | R Documentation |
Creates a Venn diagram comparing the number of common sequences in two or three repertoire_ids.
commonSeqsVenn(repertoire_ids, amino_table)
repertoire_ids |
A character vector of two or three names of
repertoire_ids in |
amino_table |
A tibble of amino acid sequences generated
by the function |
Returns a a Venn diagram of the number of common sequences between two or three repertoire_ids.
productiveSeq()
, commonSeqs()
,
commonSeqsPlot()
, commonSeqsBar()
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)
amino_table <- LymphoSeq2::productiveSeq(
study_table = study_table,
aggregate = "junction_aa"
)
# Plot a triple Venn diagram
LymphoSeq2::commonSeqsVenn(
repertoire_ids = c(
"TRB_Unsorted_0",
"TRB_Unsorted_32", "TRB_Unsorted_83"
),
amino_table = amino_table
)
# Plot a double Venn diagram
LymphoSeq2::commonSeqsVenn(repertoire_ids = c(
"TRB_Unsorted_0",
"TRB_Unsorted_32"
), amino_table = amino_table)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.