Description Usage Arguments Value Examples
View source: R/millefy-bamImport.R
Calculate normalization factors for visualization of BAM files
1 | calcBamNormFactors(bam_files, scaleFactor = 10^6)
|
bam_files |
A character vector containing paths to BAM files |
scaleFactor |
A numeric vector of normalization factors (1/(total mapped reads)*scaleFactor) |
bamNormFactors numeric vector
1 2 3 | # Gene annotation track (For faster performance, try to use \code{dt_gtf} paramter)
bam_files = Sys.glob(file.path(system.file("extdata/bam", package="millefy"), "*.bam"))
normFactors = calcBamNormFactors(bam_files)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.