View source: R/exportRegions.R
exportRegions | R Documentation |
Function to print WC regions after breakpointR analysis
exportRegions(
datapath,
file = NULL,
collapseInversions = FALSE,
collapseRegionSize = 5e+06,
minRegionSize = 5e+06,
state = "wc"
)
datapath |
A path to that |
file |
A filename to print exported regions to. |
collapseInversions |
Set to |
collapseRegionSize |
Upper range of what sized regions should be collapsed. |
minRegionSize |
Minimal size of the region to be reported. |
state |
A genotype of the regions to be exported ('ww', 'cc' or 'wc'). |
A data.frame
object containing all regions with user defined 'state'.
David Porubsky
## Get an example file
exampleFolder <- system.file("extdata", "example_results", package="breakpointRdata")
## To export regions genotyped as 'wc'
wc.regions <- exportRegions(datapath=exampleFolder, collapseInversions=FALSE, minRegionSize=5000000, state='wc')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.