removeSeq | R Documentation |
Removes an amino acid sequence and associated data from all instances within study table and then recomputes the duplicate_frequency.
removeSeq(study_table, sequence)
study_table |
A tibble imported using the LymphoSeq2 function
|
sequence |
A character vector of one or more amino acid sequences to remove from the study table |
Returns a tibble like the one imported except all rows with the specified amino acid sequence are removed. The "duplicate_frequency" is recalculated.
file_path <- system.file("extdata", "TCRB_sequencing",
package = "LymphoSeq2")
study_table <- LymphoSeq2::readImmunoSeq(path = file_path, threads = 1)
Lstudy_table <- LymphoSeq2::topSeqs(study_table, top = 100)
LymphoSeq2::searchSeq(study_table, sequence = "CASSDLIGNGKLFF")
cleaned_table <- LymphoSeq2::removeSeq(study_table,
sequence = "CASSDLIGNGKLFF")
LymphoSeq2::searchSeq(cleaned_table, sequence = "CASSDLIGNGKLFF")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.