scaleMeta: Apply the scalefun() to a metalist

View source: R/PlotMetagene.R

scaleMetaR Documentation

Apply the scalefun() to a metalist

Description

Apply the scalefun() to a metalist

Usage

scaleMeta(metaList, cols = c(0, 100, 300, 700), b = 100, a = 100)

Arguments

metaList

output of either makeCovList() or addSym()

cols

numeric vector of length 4 indicating landmark columns (start=0, end of upstream region, end of main region, ncol(df))

b

numeric indicating the number of columns the upstream region (cols[1]-cols[2]) should be scaled down to. Default=100.

a

numeric indicating the number of columns the downstream region (cols[3]-cols[4]) should be scaled down to. Default=100.

Value

metaList of coverage matrices with upstream and downstream regions scaled down (i.e. reduced columns) for clearer plotting


kevincjnixon/ChIPATAC documentation built on May 25, 2023, 9:33 p.m.