parse.cloneset: Parse input table files with the immune receptor repertoire...

Description Usage Arguments Value See Also Examples

Description

General parser for cloneset table files. Each column name has specific purpose (e.g., column for CDR3 nucleotide sequence or aligned gene segments), so you need to supply column names which has this purpose in your input data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
parse.cloneset(
  .filename,
  .nuc.seq,
  .aa.seq,
  .reads,
  .barcodes,
  .vgenes,
  .jgenes,
  .dgenes,
  .vend,
  .jstart,
  .dalignments,
  .vd.insertions,
  .dj.insertions,
  .total.insertions,
  .skip = 0,
  .sep = "\t"
)

Arguments

.filename

Path to the input file with cloneset data.

.nuc.seq

Name of the column with CDR3 nucleotide sequences.

.aa.seq

Name of the column with CDR3 amino acid sequences.

.reads

Name of the column with counts of reads for each clonotype.

.barcodes

Name of the column with counts of barcodes (UMI, events) for each clonotype.

.vgenes

Name of the column with names of aligned Variable gene segments.

.jgenes

Name of the column with names of aligned Joining gene segments.

.dgenes

Name of the column with names of aligned Diversity gene segments.

.vend

Name of the column with last positions of aligned V gene segments.

.jstart

Name of the column with first positions of aligned J gene segments.

.dalignments

Character vector of length two that names columns with D5' and D3' end positions.

.vd.insertions

Name of the column with VD insertions for each clonotype.

.dj.insertions

Name of the column with DJ insertions for each clonotype.

.total.insertions

Name of the column with total number of insertions for each clonotype.

.skip

How many lines from beginning to skip.

.sep

Separator character.

Value

Data frame with immune receptor repertoire data. See parse.file for more details.

See Also

parse.file

Examples

1
2
3
4
5
## Not run: 
# Parse file in "~/mitcr/immdata1.txt" as a MiTCR file.
immdata1 <- parse.file("~/mitcr/immdata1.txt", 'mitcr')

## End(Not run)

tcR documentation built on July 2, 2020, 3:18 a.m.