Description Usage Arguments Value See Also Examples
function reads all clonotype tables stored in a folder, filters reads and assay reads for each clonotype.
1 2 3 4 5 6 7 8 9 10 11 12 |
fileList |
a list of file paths to import. |
cores |
an interger number of cores to use. Default is 1. |
aligner |
software used to align reads ("Adaptive", "rTCR", "ClonotypeR" or "MiXCR"). Default is MiXCR. |
chain |
an character indicates which TCR chain alpha or beta to import, Use |
sampleinfo |
a data frame containing sample information for each clonotype file in fileList. The number of rows of sampleinfo must be identical to the number of file in fileList. A data frame containing If NULL |
keep.ambiguous |
a boolean. If TRUE, ambiguous clonotypes (contain STOP codon) will be kept in analysis. Default is |
keep.unproductive |
a boolean. If TRUE, unproductive clonotypes (Euclidean dividion of aa length by 3 > 0) will be kept in analysis. Default is |
filterSingleton |
a boolean. If TRUE clonotypes having 1 count in only 1 sample will be removed. Default is |
aa.th |
an interger indicates the maximal number of amino acids could be deviated from the mean length. Default is 8. |
raretab |
a boolean indicating whether a rarefaction tab should be generated. |
an object of class RepSeqExperiment.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run:
# The package RepSeqData contains example datasets
l <- list.files(system.file(file.path('extdata/mixcr'),
package = 'RepSeqData'),
full.names = TRUE)
l# list of gz-compressed files
sampleData <- read.table(system.file(file.path('extdata/sampledata.txt'),
package='RepSeqData'),
sep = "\t",
row.names = 2)
dataset <- readClonotypeSet(fileList = l,
cores=1L,
aligner = "MiXCR",
chain = "B",
sampleinfo = sampleData,
keep.ambiguous=FALSE,
keep.unproductive=FALSE,
aa.th=8,
raretab = TRUE)
dataset
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.