powered by
exportMotifs
exportMotifs exports a motif set GRanges from running addMotifSet(returnSTM=FALSE) to bigBed file files for visualization in genome browsers.
addMotifSet(returnSTM=FALSE)
exportMotifs( SampleTileObject, motifsGRanges, motifSetName = "motifs", filterByOpenTiles = FALSE, outDir, verbose = FALSE )
outList A List of output filepaths
The SummarizedExperiment object output from getSampleTileMatrix
getSampleTileMatrix
A GRanges containing motif annotations, typically from addMotifSet(returnSTM=FALSE)
Optional, a name indicating the motif set. Used to name files in the specified outdir. Default is "motifs".
outdir
Boolean. If TRUE, a bigBed file will be exported for each cell population with motifs filtered to those occurring only in open tiles.
Desired output directory where bigBed files will be saved
Set TRUE to display additional messages. Default is FALSE.
if (FALSE) { MOCHA::exportMotifs( SampleTileObject = SampleTileMatrices, motifsGRanges, motifSetName = "CISBP", filterByOpenTiles = FALSE, outDir = tempdir(), verbose = TRUE ) }
Run the code above in your browser using DataLab