This function takes a data frame of VDJ information per cell and adds it to the iCellR object.
add.vdj(x = NULL, vdj.data = "data.frame")
An object of class iCellR.
A data frame containing VDJ information for cells.
An object of class iCellR
# NOT RUN {
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)
# }
Run the code above in your browser using DataLab