R/import-counts.R
bam_file_chromosomes.Rd
Get chromosomes from a bam file
bam_file_chromosomes(bam_file, samtools_bin = "samtools")
name of the bam file
path to samtools executable
a vector of strings with the chromosome names
if (FALSE) { bam_file_chromosomes("pbmc_data/possorted_bam.bam") }