Description Usage Arguments Details
View source: R/extract_matrix.R
Extract matrix of signal values from given bigWig files around region of interset - bed file.
1 2 3 4 |
coldata |
Input coldata generated from |
bed |
Input bed file |
genome |
Can be hg19 or mm10. Default NULL. If |
binSize |
Default 25bp |
startFrom |
region of interest. Default from peak 'center'. Can be 'tss' or 'tes'. |
up |
upsteram in bp. Default 2500. |
down |
downstream in bp. Default 2500. |
k |
cluster regions with k-means where k is the number of clusters. Defualt NULL. |
op_dir |
Directory to store results. Defult "./" |
rmAfter |
remove matrix files generated by bwtool once data is read into R. Default TRUE. |
nthreads |
threads to use. Default 4. |
bw_path |
path to bwtool. Default looks under system path. |
This function is a wrapper around bwtool matrix command and extracts signals from bigWig files from an input BED file. Once extraction is complete matrix can be summarized by mean or median signals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.