Runs Triform according to configuration file or given parameters.
Triform uses chromosome coverage files prepared by the preprocessing function.
Path to a configuration file in YAML format, or NULL.
A list of parameters values (see details)
If configPath is NULL, all the other arguments must be supplied in params.
Values in params will overwrite values as set in the configuration file. The following list explains the parameters for the triform algorithm:
COVER.PATH Path for coverage files (from preprocessing).
OUTPUT.PATH Path for output file.
TARGETS Filenames for TF experiments. (Named according to replicate, i.e. myTF_rep1.bed for replicate 1.
CONTROLS Filnames for control experiments (Named according to replicate).
MAX.P Minimum p-value, used to calculate min.z
MIN.WIDTH Minimum peak width (min.n)
MIN.QUANT Quantile of enrichment ratios, used to calculate min.er
MIN.SHIFT Minimum inter-strand lag between peak coverage distributions.
FLANK.DELTA Fixed spacing between central and flanking locations.
CHRS A list of chromosomes to be processed.
Output is saved to the outputpath.
1 2 3 4 5 6 7 8 9 10 11 12 13
## Not run: # Run Triform with configuration file: triform(configPath = "./config.yml") # Run Triform with arguments instead of configuration file: triform(configPath=NULL, params=list(COVER.PATH = "./chrcovers", OUTPUT.PATH = "./Triform_output.csv", CONTROLS = c("backgr_huds_Gm12878_rep1", "backgr_huds_Gm12878_rep2"), TARGETS = c("srf_huds_Gm12878_rep1", "srf_huds_Gm12878_rep2"), MAX.P = 0.1, MIN.WIDTH = 10, MIN.QUANT = 0.375, MIN.SHIFT = 10, FLANK.DELTA = 150, CHRS = c("chrY"))) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.