Skip to content

Commit

Permalink
Update pictograph.Rmd
Browse files Browse the repository at this point in the history
add input read threshold to remove potential false positives
  • Loading branch information
jiaying2508 committed Jun 5, 2023
1 parent 07a3acb commit d1b8936
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vignettes/pictograph.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ The required user input is a csv file that contains at least columns named "samp
head(read.csv(system.file('extdata/example_input.csv', package = 'pictograph')))
```

The input file can be read using the importCSV function. Alt read count (y), total read count (n), tumor copy number (tcn), and multiplicity (m) are stored in matrices where the columns are samples, and rows are variants. Purity is supplied as a vector. I and S are integers representing the number of variants and number of samples, respectively.
The input file can be read using the importCSV function. Alt read count (y), total read count (n), tumor copy number (tcn), and multiplicity (m) are stored in matrices where the columns are samples, and rows are variants. Purity is supplied as a vector. I and S are integers representing the number of variants and number of samples, respectively. The function will also pre-process the data to remove potential false positive read counts. By default, a mutation with alt reads less than 6 or a VAF less than 2% is considered a false positive. Users can change the thresholds using the `alt_reads_thresh` and `vaf_thresh` parameters.

```{r input_data}
input_data <- importCSV(system.file('extdata/example_input.csv', package = 'pictograph'))
input_data <- importCSV(system.file('extdata/example_input.csv', package = 'pictograph'),
alt_reads_thresh = 6, vaf_thresh = 0.02)
```

```{r load_results, include = F}
Expand Down

0 comments on commit d1b8936

Please sign in to comment.