Description Usage Arguments Details Value Examples
shrinkBins
returns shrunken bin-level estimates
1 2 3 4 5 6 7 8 9 10 |
x |
Input SummarizedExperiment object |
original.x |
Full sample set SummarizedExperiment object |
prior.means |
The means of the bin-level prior distribution |
chr |
The chromosome to operate on |
res |
Resolution to perform the binning |
targets |
The column/sample/cell names to shrink towards |
assay |
What assay type this is ("array", "atac", "bisulfite") |
genome |
What genome are we working with ("hg19", "hg38", "mm9", "mm10") |
This function computes shrunken bin-level estimates using a James-Stein estimator, reformulated as an eBayes procedure
A list object to pass to getCorMatrix
1 2 3 4 5 | data("meth_array_450k_chr14", package = "compartmap")
#impute to remove NAs
imputed.array <- imputeKNN(array.data.chr14, assay = "array")
#get the shrunken binned M-values
shrunken.bin.array <- shrinkBins(imputed.array, chr = "chr14", assay = "array")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.