View source: R/feature_file_editor.R
peak_union_calc | R Documentation |
The function goes over each BAM file in the directory and finds the expression peaks that satisfy the coverage boundary and length criteria in each file. Then it unifies the peak information to obtain a single set of peak genomic coordinates.
peak_union_calc(
bam_location = ".",
bam_txt_list = "",
target_strand,
low_coverage_cutoff,
high_coverage_cutoff,
peak_width,
paired_end_data = FALSE,
strandedness = "unstranded"
)
bam_location |
The directory containing BAM files. |
bam_txt_list |
Optional newline separated text file of filenames of bam files. File must be located in bam_location directory. |
target_strand |
A character string indicating the strand. Supports two values; '+' and '-'. |
low_coverage_cutoff |
An integer indicating the low coverage threshold value. |
high_coverage_cutoff |
An integer indicating the high coverage threshold value. |
peak_width |
An integer indicating the minimum peak width. |
paired_end_data |
A boolean indicating if the reads are paired-end. |
strandedness |
A string outlining the type of the sequencing library: stranded, or reversely stranded. |
An object of IRanges class, containing the genomic coordinates of selected and unified peaks.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.