Closed csdaw closed 2 years ago
This PR rewrites estimate_incorporation() (and adds tests for it) so that it:
estimate_incorporation()
Example (save outputs in a list):
ls <- estimate_incorporation( psm_input = psm_silac_p4, peptide_input = pep_silac_p4, crap_fasta = system.file("extdata/cRAP_20190401.fasta.gz", package = "camprotR"), mix = 1 )
Example (save outputs to files in a directory of choice):
estimate_incorporation( psm_input = psm_silac_p4, peptide_input = pep_silac_p4, crap_fasta = system.file("extdata/cRAP_20190401.fasta.gz", package = "camprotR"), mix = 1, outdir = "output" )
To use on the command line:
Rscript -e 'estimate_incorporation(psm_silac_p4, pep_silac_p4, "path/to/crap.fasta", 1, "output")'
This PR rewrites
estimate_incorporation()
(and adds tests for it) so that it:Example (save outputs in a list):
Example (save outputs to files in a directory of choice):
To use on the command line: