filterGtf | R Documentation |
filterGtf
reads gtf file and filter it by target chromosomes.
(.gz supported)
filterGtf(gtf, chromosomes = NULL, out = NULL, sep = "\t", verbose = TRUE)
gtf |
character. Path to gtf file. |
chromosomes |
character. Target chromosomes. |
out |
character. Output file. |
sep |
character. Each gtf line separator. Default |
verbose |
logical. Print progress. Default TRUE |
if success, return TRUE
gtf = system.file('extdata', 'IMGT_Homo_sapiens.gtf.gz', package = 'TrustVDJ') filterGtf(gtf, c('IGHD1-1*01', 'TRDD1*01'), 'filter.gtf') gtf = readLines('filter.gtf') file.remove('filter.gtf') cat(paste(gtf, '\n', collapse = ''))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.