View source: R/VDJ_import_IgBLAST_annotations.R
VDJ_import_IgBLAST_annotations | R Documentation |
Imports the IgBLAST annotations and alignments from IgBLAST output files, stored in the output folders of Cell Ranger, into a VDJ dataframe obtained from the minimal_VDJ() function in Platypus.
VDJ_import_IgBLAST_annotations(VDJ, VDJ.directory, file.path.list, method)
VDJ |
dataframe - VDJ object as obtained from the VDJ_build() function in Platypus. |
VDJ.directory |
string - path to parent directory containing the output folders (one folder for each sample) of Cell Ranger. This pipeline assumes that the sample IDs and contigs IDs have not been modified and that the IgBLAST output file names have not been changed from the default changeo settings. Each sample directory should contain a 'filtered_contig_igblast_db-pass.tsv' file. |
file.path.list |
list - list containing the paths to the 'filtered_contig_igblast_db-pass.tsv' files, in which the names of each item should refer to an sample ID. |
method |
string - denotes the way the IgBLAST germline annotations from the 'filtered_contig_igblast_db-pass.tsv' files should be appended to the VDJ dataframe. Options: 'replace' or 'attach'. Defaults to 'append'. 'replace' : The original annotation columns in the VDJ dataframe are replaced with the IgBLAST annotations. The original columns are kept with the suffix '_10x'. 'append' : The IgBLAST annotation columns are stored in columns with the suffix '_IgBLAST'. |
The VDJ dataframe with the appended IgBLAST annotations and alignments.
## Not run:
VDJ <- VDJ_import_IgBLAST_annotations(VDJ = AntibodyForests::small_vdj,
VDJ.directory = "path/to/VDJ_directory")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.