It is me again. I am using the VDJ_overlap_heatmap() function to get the overlap in the repertoires of my samples. Please see my code below:
#overlap of VDJ V genes
VDJv_overlap <- VDJ_overlap_heatmap(VDJ = vgm[[1]],feature.columns = c("VDJ_vgene","VJ_vgene") ,grouping.column = "sample_id", axis.label.size = 9, pvalues.label.size = 4, add.barcode.table = T, plot.type = "ggplot")
print(VDJv_overlap[[1]])
head(VDJv_overlap[[2]]) #summary of overlap - 6 rows
VDJv_overlap[[2]] #Entire summary of overlap
head(VDJv_overlap[[3]]) #Table of overlapping items - 6 rows
VDJv_overlap[[3]] #Entire table of overlapping items
How do I export "VDJv_overlap[[2]]" or "VDJv_overlap[[3]]" outputs (which are the tables for summary of overlap and overlapping items) of my code into .csv or .xlsx format?
Hello,
It is me again. I am using the VDJ_overlap_heatmap() function to get the overlap in the repertoires of my samples. Please see my code below:
How do I export "VDJv_overlap[[2]]" or "VDJv_overlap[[3]]" outputs (which are the tables for summary of overlap and overlapping items) of my code into .csv or .xlsx format?
Many thanks!!