add.vdj: Add V(D)J recombination data

Description Usage Arguments Value Examples

Description

This function takes a data frame of VDJ information per cell and adds it to the iCellR object.

Usage

1
add.vdj(x = NULL, vdj.data = "data.frame")

Arguments

x

An object of class iCellR.

vdj.data

A data frame containing VDJ information for cells.

Value

An object of class iCellR

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
my.vdj <- read.csv(file = system.file('extdata', 'all_contig_annotations.csv',
          package = 'iCellR'),
          as.is = TRUE)
head(my.vdj)
dim(my.vdj)

My.VDJ <- prep.vdj(vdj.data = my.vdj, cond.name = "NULL")
head(My.VDJ)
dim(My.VDJ)

my.obj <- add.vdj(demo.obj, vdj.data = My.VDJ)

iCellR documentation built on Nov. 16, 2020, 9:13 a.m.

Related to add.vdj in iCellR...