Description Usage Arguments Value Author(s) References Examples
'makeBed()' imports the output from 'mixHMM()' and a RangedSummarizedExperiment object dataset to create a BED file to be used in downstream analyses.
1 |
output |
An output from 'mixHMM()' |
data |
A RangedSummarizedExperiment object with the same assay used in 'mixHMM()' |
file |
The full path and name of the output file (e.g. './example.bed') |
tracklabel |
Optional label for the track (default is 'User Track') |
A GRanges object with differential peak calls
Pedro L. Baldoni, pedrobaldoni@gmail.com
https://github.com/plbaldoni/mixHMM
1 2 3 4 5 6 7 | data(H3K36me3)
ChIP = SummarizedExperiment::assay(H3K36me3)
offset = ZIMHMM::createOffset(ChIP,method = 'loess',span = 1)
group = c(1,1,1,2,2,2,3,3,3)
B = 2^(length(unique(group)))-2
## Not run: output = mixHMMConstr(ChIP,Control=NULL,offset,group,B,control = controlPeaks())
## Not run: makeBed(output,data = H3K36me3,file = './H3K36me3.bed')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.