View source: R/RunSignatureAnalyzerAttribution.R
| RunSignatureAnalyzerAttribution | R Documentation |
Normally, please call SignatureAnalyzerOneRun
instead of this function.
RunSignatureAnalyzerAttribution( input.catalog, read.catalog.function, extracted.signature.file, raw.exposures.file, write.signature.function, out.dir, test.only = FALSE, input.exposures = NULL, delete.tmp.files = TRUE, overwrite = FALSE, verbose = FALSE )
input.catalog |
File containing input catalog. Columns are samples (tumors), rows are signatures. SignatureAnalyzer does not care about the row names (I think) TODO(Steve): check this. |
read.catalog.function |
Function taking a file path as its only argument and returning a catalog as a numeric matrix. |
extracted.signature.file |
A .csv file containing extracted
signatures. Normally, this file is named |
raw.exposures.file |
A .csv file containing raw attributions
of exposures. Normally, this file is named |
write.signature.function |
Function with first argument the signatures generated by SignatureAnalyzer and second argument the file to write to. |
out.dir |
Directory that will be created for the output;
abort if it already exits. Log files will be in
|
test.only |
If TRUE, only analyze the first 10 columns
read in from |
input.exposures |
A file with the synthetic exposures used to generate
|
delete.tmp.files |
If TRUE delete the many temporary files generated by SignatureAnalyzer. |
overwrite |
If TRUE, overwrite existing output. |
verbose |
If |
Save the final attribution of a catalog matrix into
a file named "sa.output.fine.exp.csv" under the
folder out.dir.
The final attribution matrix.
(i.e. exp.fine.tuned)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.