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, productive_aa)
repertoire_ids |
A character vector of two or three names of repertoire_ids in productiveSeq table to compare. |
productive_aa |
A tibble of amino acid sequences generated by the LymphoSeq function productiveSeq. |
Returns a a Venn diagram of the number of common sequences between two or three repertoire_ids.
commonSeqs
file_path <- system.file("extdata", "TCRB_sequencing", package = "LymphoSeq2") stable <- readImmunoSeq(path = file_path) atable <- productiveSeq(study_table = stable, aggregate = "junction_aa") # Plot a triple Venn diagram commonSeqsVenn(repertoire_ids = c("TRB_Unsorted_0", "TRB_Unsorted_32", "TRB_Unsorted_83"), productive_aa = atable) # Plot a double Venn diagram commonSeqsVenn(repertoire_ids = c("TRB_Unsorted_0", "TRB_Unsorted_32"), productive_aa = atable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.