| aggrAcc | R Documentation | 
Use a peak-count matrix (rows=peaks, columns=samples) and as csAnno object from ChIPseeker to aggregate counts from all or specific features for each gene
aggrAcc(
  counts,
  anno,
  annoCol = "V4",
  feature = "all",
  method = c("mean", "median", "geoMean", "max", "sum"),
  raw = F,
  geneCol = "SYMBOL"
)
| counts | count matrix where rows=peaks and columns=individual samples | 
| anno | csAnno object (from ChIPseeker annotatePeak()) containing the annotations for only and all of the peaks in 'counts' | 
| annoCol | column name in anno@anno corresponding to the rownames of counts. Defaults to "V4". | 
| feature | Type of feature to aggregate. 'all" will be all features. Other options include "promoter","intron","intergenic", etc. Default is "all". | 
| method | method to use for aggregating counts. One of "mean","median","geoMean", "max", or "sum". Defaults to "mean" | 
| raw | Boolean indicating if exported object should be whole integers (i.e. raw counts). Default=FALSE. | 
Data.frame with rows=gene symbols, columns= samples, and aggregated gene counts for each gene in each sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.