Description Usage Arguments Value Author(s) Examples
View source: R/exportRegions.R
Function to print WC regions after breakpointR analysis
1 2 3 4 5 6 7 8 | 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
1 2 3 4 | ## 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.