Removes an amino acid sequence and associated data from all instances within a list of data frames and then recomputes the frequencyCount.
A list of data frames imported using the LymphoSeq function readImmunoSeq. "aminoAcid", "count", and "frequencyCount" are required columns.
A character vector of one or more amino acid sequences to remove from the list of data frames.
Returns a list of data frames like the one imported except all rows with the specified amino acid sequence are removed. The frequencyCount is recalculated.
1 2 3 4 5 6 7 8 9
file.path <- system.file("extdata", "TCRB_sequencing", package = "LymphoSeq") file.list <- readImmunoSeq(path = file.path) searchSeq(list = file.list, sequence = "CASSDLIGNGKLFF") cleansed <- removeSeq(file.list = file.list, sequence = "CASSDLIGNGKLFF") searchSeq(list = cleansed, sequence = "CASSDLIGNGKLFF")
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.