ngsplotr: reads enrichment plots

Description Usage Arguments Value

View source: R/ngsplotr.R

Description

This function draws a line plot foraverage enrichment of ngs reads and heatmaps for ngs reads enrichment (k-means and hierarchical clusterings).

Usage

1
2
ngsplotr(bam.files, peaks, bin.num = 100, sample_names,
  range = c(-5000, 5000), outname = "my_enrichment")

Arguments

bam.files

a vector of bam.file locations

peaks

a GRanges object for regions to be analyzed.

bin.num

number of bin for score matrix

sample_names

sample names of bam files

range

a raneg to be analyzed

outname

name for output file

Value

a scorMatrix object and export a line plot, heatmaps(k-mean and hierarchical clusterings) as a pdf)


takahirosuzuki0626/mTFTarget documentation built on Jan. 4, 2022, 9:44 a.m.