Description Usage Arguments Details Value Methods (by class) Author(s) Examples
Makes bins based on fragment counts
1 2 3 4 5 6 7 8 9 10 11 12 13 | makeBiasBins(object, ...)
## S4 method for signature 'SummarizedExperiment'
makeBiasBins(object,
bias = rowData(object)$bias, nbins = 25, frac = 0.3)
## S4 method for signature 'RangedSummarizedExperiment'
makeBiasBins(object,
bias = rowRanges(object)$bias, nbins = 25, frac = 0.3)
## S4 method for signature 'MatrixOrmatrix'
makeBiasBins(object, bias, nbins = 25,
frac = 0.3)
|
object |
fragment counts stored as RangedSummarizedExperiment, SummarizedExperiment, matrix, or Matrix |
... |
addtional arguments |
bias |
vector of some bias signal (usually gc content) for each row of object |
nbins |
number of bins for each category, see Details |
frac |
fraction of peaks within given bin to select randomly |
Will create nbins * 3 annotations based on sampling from peaks with a certain fragment count, fragment count, or fragment count & bias.
SummarizedExperiment storing bias bins annotation
SummarizedExperiment
: method for SummarizedExperiment
RangedSummarizedExperiment
: method for RangedSummarizedExperiment
MatrixOrmatrix
: method for Matrix or matrix
Alicia Schep
1 2 3 | # Load very small example counts (already filtered)
data(mini_counts, package = "chromVAR")
bb <- makeBiasBins(mini_counts)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.