Description Usage Arguments Value Examples
function creates RepSeqExperiment object from clonotype tables.
1 |
clonotypetab |
a data.table of clonotype tables. The column names should be: lib, V, J, CDR3aa, CDR3dna, VpJ, VJ, score, count. |
sampleinfo |
a data frame containing sample meta data |
an object of class RepSeqExperiment
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## 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)
clontab.tmp <- lapply(l, readClonotypes, aligner="MiXCR")
clontab <- data.table::rbindlist(dataset.tmp)
dataset <- RepSeqExp(clontab, sampleinfo = sampleData)
dataset
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.