Run an example of NGScopy at UNIX-like command line

Description

Run an example of NGScopy at UNIX-like command line

Usage

1
ngscopy_cmdline_example(ifRun = FALSE, pcThreads = 1)

Arguments

ifRun

logical, whether to run

pcThreads

numeric, the number of processors performing the parallel computing.

Value

character, the command line.

Author(s)

Xiaobei Zhao

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## To run at R prompt
ngscopy_cmdline_example()
## Not run: 
ngscopy_cmdline_example(ifRun=TRUE) # Note: this would take a while. And
                                    # R will create a folder for output
                                    # at current working directory

## End(Not run)

## ## To run at Unix-like command line (not at R prompt)
## Rscript -e "require(methods);NGScopy::ngscopy_cmdline_example(TRUE)"