activeChrs {icetea} | R Documentation |
Match BAM headers bw files and get active chromosome list (from restrict) (written by Aaron Lun, 12 Dec 2014, copied and modified here)
activeChrs(bam.files, restrict)
bam.files |
Character . bam files to check |
restrict |
character. Chromosomes to select |
Vector of selected chromosomes