Create Patient Report
Step 5 -- Create a report showing genomic alteration data for all samples of a patient.
1. Patient information
2. Plot of SNV variant allele frequencies
3. Plot of copy number alterations
4. Plot of clonal SNV/INDEL VAFs adjusted for copy number
Usage
Rscript reports/create_report.R -h
usage: reports/create_report.R [-h] -t TEMPLATE -p PATIENT_ID -r RESULTS -rc
CNA_RESULTS_DIR -tt TUMOR_TYPE -m METADATA
[-d DMP_ID] [-ds DMP_SAMPLE_ID] [-dm DMP_MAF]
[-o OUTPUT] [-ca] [-pi]
optional arguments:
-h, --help show this help message and exit
-t TEMPLATE, --template TEMPLATE
Path to Rmarkdown template file.
-p PATIENT_ID, --patient-id PATIENT_ID
Patient ID
-r RESULTS, --results RESULTS
Path to CSV file containing mutation and genotype
results for the patient.
-rc CNA_RESULTS_DIR, --cna-results-dir CNA_RESULTS_DIR
Path to directory containing CNA results for the
patient.
-tt TUMOR_TYPE, --tumor-type TUMOR_TYPE
Tumor type
-m METADATA, --metadata METADATA
Path to file containing meta data for each sample.
Should contain a 'cmo_sample_id_plasma', 'sex', and
'collection_date' columns. Can also optionally include
a 'timepoint' column (e.g. for treatment information).
-d DMP_ID, --dmp-id DMP_ID
DMP patient ID (optional).
-ds DMP_SAMPLE_ID, --dmp-sample-id DMP_SAMPLE_ID
DMP sample ID (optional).
-dm DMP_MAF, --dmp-maf DMP_MAF
Path to DMP MAF file (optional).
-o OUTPUT, --output OUTPUT
Output file
-ca, --combine-access
Don't splite VAF plots by clonality.
-pi, --plot-impact Also plot VAFs from IMPACT samples.Last updated
Was this helpful?