concateRepSeq: concatenate 2 RepSeqExperiment objects

Description Usage Arguments Value Examples

Description

function concateRepSeq allow to concatenate 2 RepSeqExperiement objects. Overlaps in sample names are not allowed.

Usage

1

Arguments

a

first RepSeqExperiment object.

b

second RepSeqExperiment object.

Value

a RepSeqExperiment object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## 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
filelist1 <- l[1:3]
dataset1 <- readClonotypeSet(fileList = filelist1, 
                   aligner = "MiXCR", 
                   chain = "B", 
                   keep.ambiguous=FALSE, 
                   keep.unproductive=FALSE, 
                   aa.th=8)
dataset1
filelist2 <- l[4:6]
dataset2 <- readClonotypeSet(fileList = filelist2, 
                   aligner = "MiXCR", 
                   chain = "B", 
                   keep.ambiguous=FALSE, 
                   keep.unproductive=FALSE, 
                   aa.th=8)
dataset2
dataset <- concateRepSeq(a = dataset1, b = dataset2)
dataset

## End(Not run)

ph-pham/RepSeq documentation built on Dec. 22, 2021, 7:47 a.m.