Description Usage Arguments Value See Also Examples
function readColontypes is a wrapper of parseClonotypes & filterClonotypes
1 2 3 4 5 6 7 8 9 | readClonotypes(
path,
aligner = c("MiXCR", "Adaptive", "rTCR", "ClonotypeR"),
chain = c("A", "B"),
keep.ambiguous = FALSE,
keep.unproductive = FALSE,
aa.th = 8,
outFiltered = F
)
|
path |
a path to a clonotype file, for the moment, only TSV from ClonotypeR is supported. |
aligner |
choice between type of input file provided by "Adaptive", "ClonotypeR", "MiXCR", "rTCR". Default is "MiXCR". |
chain |
a character |
keep.ambiguous |
a boolean choice if ambiguous clonotypes (contain STOP codon) should be kept in analysis. Default is |
keep.unproductive |
a boolean choice if unproductive clonotypes (Euclidean dividion of aa length by 3 > 0) should be kept in analysis. Default is |
aa.th |
an interger indicates the maximal number of amino acids could be deviated from the mean length. Default is |
outFiltered |
write dropped reads to file. Default folder is getwd(). |
a filtered clonotype table.
parseClonotypeR
, filterClonotypes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
# The package RepSeqData contains example datasets
l <- list.files(system.file(file.path('extdata/mixcr'),
package = 'RepSeqData'),
full.names = TRUE)
l
# first element of the vector
path <- l[1]
dataset <- readClonotypes(path = path,
aligner = "MiXCR",
chain = "B",
keep.ambiguous=FALSE,
keep.unproductive=FALSE,
aa.th=8,
outFiltered=F)
dataset
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.