View source: R/importCaptureRegions.R
importCaptureRegions | R Documentation |
Imports capture regions from a bed file with GC information.
importCaptureRegions(
bedFile,
reference,
Rdirectory,
genome = "hg19",
forceRedoCR = F,
forceRedoRdirectorySave = F
)
genome |
Which genome the bed file is on. 'hg19', 'hg38' and 'mm10' only supported atm. |
file |
Bedfile of the capture regions with extra columns for gc and binding strength information. |
gcColumn |
the column in the bed file that contains the gc content. Default 5 matches output from the provided script at X. |
dnColumn |
the column in the bed file that contains the binding strength. Default 6 matches output from the provided script at X. |
Reads in the bed file into GRanges format, with extra columns for GC and binding strength.
captureRegions = importCaptureRegions('path/to/my/captureRegions.bed')
plotColourScatter(captureRegions$gc, captureRegions$dn, xlab='GC content', ylab='binding strength')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.