This function allows to drop of one or several sequences from a RepSeqExperiment object in all samples or a specified group of samples.
Usage
filterSequence(
x,
level = c("aaClone", "ntClone", "aaCDR3", "ntCDR3"),
name,
group = NULL
)
Arguments
- x
an object of class
RepSeqExperiment
- level
a character specifying the level of the repertoire to be taken into account. Should be one of "aaClone","ntClone", "ntCDR3" or "aaCDR3".
- name
a vector of character specifying the name(s) of the sequence(s) to filter out from the RepSeqExperiment object.
- group
a vector of character indicating the group column name in the mData slot and one experimental group within this column.
Examples
RepSeqData<- filterSequence(x = RepSeqData,
level="aaClone",
name="TRAV13-2 CAETQSLQRALIGNLQSPISRF TRAJ50",
group=c("cell_subset","nTreg"))