Description Usage Arguments Value Examples
This function estimates sample size factors for normalization
purpose in downsteam analysis. Size factors of sample pairs are estimated
firstly by comparing samples to one reference sample (i.e. the sample
corresponding to first column of count matrix). Then, size factors are
combined across all samples with the median size factor as 1. In detail,
binding type is first estimated using the same strategy as function
chipType
for each sample pair. When biomodel, size factor is
calcualted based on a decision on which kernale density mode to be used for
scaling.
1 2 |
count |
A matrix of read counts or a SummarizedExperiment, where
columns are samples and rows are peaks or high coverage bins. This object
can be generated by function |
cutoff |
A numeric cut off on count matrix. If positive, only
peaks/bins with counts larger than |
fold |
A numeric threshold to help determining the binding type. In
detail, if top 2 estimated modes on smoothed kernal density have a height
differece less than the folds given by |
h |
Initial smoothing factor when estimating kernal density for bump hunting. (Default: 0.1) |
plot |
A logical indicator that if M-A plot and smoothed kernal density should be visualized. (Default: FALSE) |
sanity |
A logical indicator if checking sanity across replicates in
the same conditions. A negative report of sanity check indicates either a
bad experiment (e.g. binding type is not consistent across replicates) or a
bad initiation of function parameters (e.g. |
cond |
|
A list with the following conponents:
sizefac |
A numeric vector indicating estimated size factors of samples |
type |
A character vector with value either "bimodel" or "unimodel", indicating the binding types by comparing ro the sample "control" |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.