write_macs2_code: Write code for macs2 (only for auprc purpose).

Description Usage Arguments Value Examples

View source: R/write_macs2_code.R

Description

Write code for macs2 (only for auprc purpose).

Usage

1
write_macs2_code(bam_ip, bam_input, name)

Arguments

bam_ip

a vector containing the BAM files for IP samples.

bam_input

a vector containing the BAM files for input samples.

name

a character for the name of the output sh file and peak calling file.

Value

A file named by name.

Examples

1
2
3
4
5
6
7
8
9
OneStep_PRC(bam_ip = c("bam_local/SRR1035214_sorted.bam",
                       "bam_local/SRR1035216_sorted.bam",
                       "bam_local/SRR1035222_sorted.bam",
                       "bam_local/SRR1035224_sorted.bam"),
            bam_input = c("bam_local/SRR1035213_sorted.bam",
                          "bam_local/SRR1035215_sorted.bam",
                          "bam_local/SRR1035221_sorted.bam",
                          "bam_local/SRR1035223_sorted.bam"),
            name = "hNPC_control")

ZW-xjtlu/exomePeak2Test documentation built on Jan. 6, 2020, 3:36 p.m.