chip_summary: TF ChIPseq data summary plots

Description Usage Arguments Value Examples

View source: R/p03_QC_ChIPseq_summary.R

Description

This method generates various summary plots for TF ChIPseq data.

If there is no peak information, it returns blank plot with "No Data" text

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
chip_summary(
  sampleId,
  peakAnnotation,
  peakFile,
  peakFormat,
  pval_cutoff = 20,
  enrichment_cutoff = 3,
  markTargets = NULL,
  pointColor = NULL,
  pointAlpha = NULL
)

Arguments

sampleId

sampleId

peakAnnotation

macs2 peak annotation file generated by narrowPeak_annotate()

peakFile

narrowPeak or broadPeak file generated by macs2

peakFormat

One of narrowPeak or broadPeak

pval_cutoff

A cutoff for -log10(p-value) for drawing horizontal line in beeswarm plot. Default: 20

enrichment_cutoff

A cutoff for peak enrichment for drawing horizontal line in beeswarm plot. Default: 3

markTargets

A named list of target genes which needs to be annotated in the scatter plot. Default: NULL

pointColor

A named vector with colors for each target category in markTargets list. Default: NULL

pointAlpha

A named vector of alpha vlues for each target category in markTargets list. Default: NULL

Value

A list with following elements is returned.

Examples

1

lakhanp1/chipmine documentation built on March 6, 2021, 9:06 a.m.