Description Usage Arguments Value Note Examples
Writes a configuration file for use by Stereogenes in the working directory.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
name_config |
Name of output config file. Default config.cfg |
chrom_size |
Name of chromosome size file. File must be in two-column format without a header where first column is chromosome name and second column is chromosome length, as from getChainChrSize. Required |
Rscript |
Write R script for the result presentation. Equivalent to -r argument in StereoGene. Default TRUE |
verbose |
Provides a verbose output when Stereogene is run. Equivalent to -v or -verbose argument in StereoGene.Default FALSE |
na_noise |
Use NA values as unknown and fill them with noise. Equivalent to -NA argument in StereoGene. Default FALSE |
bin |
Bin size for input averaging; an integer. Default 1 |
threshold |
Threshold for input data to remove small values. An integer between 0 and 250. Default 0 |
cross_width |
Width of cross-correlation plot output in Rscript; an integer. Default 200. |
wSize |
Window size; an integer. If windows are too small, cross correlations will have a lot of noise; if they are too large, there may be too few windows for robust statistical assessment. Default 10000 |
kernel_width |
Kernel span in nucleotides; an integer. Equivalent to KernelSigma invStereoGene. Default 1000 |
outLC |
Write local kerneled correlations into a bedgraph file. Default FALSE. |
LCScale |
Local correlation scale: logarithmic ("LOG") or linear ("LIN") scaling. Default "LOG". |
LC_FDR |
Threshold for local kernel correlation FDR to be written into the local correlation file. Default 0.5 |
writes a configuration file into directory
Not all StereoGene parameters are included in this function so refer to the StereoGene manual and modify the output .cfg file manually if additional parameters are desired.
1 2 3 | ## Write a config file named "test.cfg" with chromosome size file "test.size"
write_config(name_config = "test.cfg",
chrom_size = "test.size")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.