Description Usage Arguments Details Value Examples
tagCount
returns a data.frame
of tag counts per bin per sample.
1 |
samples |
List/vector of paths or list of GAlignments/BamFile/BamViews objects or GAlignmentsList or BamFileList that will be processed. |
org |
The organism as described in the BSGenome package: Hsapiens, Mmusculus, ... |
assembly |
The assembly name: UCSC, NCBI, TAIR, ... |
version |
The assembly version: hg19, mm9, ... |
binSize |
The size of the bins. |
cluster |
A |
This function makes use of the GenomicAlignments
package to count
tags on bins. The reference genome is split into bins and a
data.frame
with the counts per bin is returned. The data.frame
has one column for each sample.
A data.frame
with counts on bins. Each column contains the counts of one sample.
1 2 3 4 5 6 7 8 | counts <- tagCount(
samples=c("ctl1.bam", "ctl2.bam", "chip1.bam", "chip2.bam"),
org="Mmusculus", assembly="UCSC", version="mm9"
)
nCounts <- normalizeTagCount(counts)
topHeatmap(nCounts)
samplesHeatmap(nCounts)
pcaPlot(nCounts, as.factor(c("ctl", "ctl", "chip", "chip")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.