View source: R/scAPAtrap_funlib.R
setTrapParams | R Documentation |
setTrapParams sets parameters for running scAPAtrap, by setting default values using TRAP.PARAMS
and checking the validity.
setTrapParams(trap.params = NULL, print = TRUE, check = TRUE, ...)
trap.params |
A list similar to |
print |
Whether to print the list (default is TRUE). |
check |
Whether to check the validity of values (default is TRUE). |
... |
Arguments passed to other methods and/or advanced arguments. Advanced arguments:
|
A list like codeTRAP.PARAMS.
## get default
trap.params=setTrapParams()
## change some parameters
trap.params=setTrapParams(list(chrs=c('2L','2R','3L','3R','4','X','Y'), TenX=FALSE))
## will ignore non-valid parameter names
trap.params=setTrapParams(list(xx=FALSE))
## add barcodes
trap.params=setTrapParams(list(barcode=c('AAA','BBB')))
## not print
trap.params=setTrapParams(print=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.