Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cband committed Feb 10, 2020
1 parent 57a8a1b commit 1f5b1c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: facetsSuite
Type: Package
Title: Functions to run and parse output from FACETS
Version: 2.0.0
Version: 2.0.2
Authors@R: person(given = "Philip",
family = "Jonsson",
role = c("aut", "cre"),
Expand Down
4 changes: 2 additions & 2 deletions R/ccf-annotate-maf.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ ccf_annotate_maf = function(maf,
maf[, c('ccf_Mcopies', 'ccf_Mcopies_lower', 'ccf_Mcopies_upper', 'ccf_Mcopies_prob95', 'ccf_Mcopies_prob90') :=
estimate_ccf(purity, tcn, tcn - lcn, t_alt_count, t_depth), by = seq_len(nrow(maf))]
maf[, c('ccf_1copy', 'ccf_1copy_lower', 'ccf_1copy_upper', 'ccf_1copy_prob95', 'ccf_1copy_prob90') :=
estimate_ccf(purity, tcn, tcn - lcn, t_alt_count, t_depth), by = seq_len(nrow(maf))]
estimate_ccf(purity, tcn, 1, t_alt_count, t_depth), by = seq_len(nrow(maf))]
maf[, c('ccf_expected_copies', 'ccf_expected_copies_lower', 'ccf_expected_copies_upper',
'ccf_expected_copies_prob95', 'ccf_expected_copies_prob90') :=
estimate_ccf(purity, tcn, tcn - lcn, t_alt_count, t_depth), by = seq_len(nrow(maf))]
estimate_ccf(purity, tcn, expected_alt_copies, t_alt_count, t_depth), by = seq_len(nrow(maf))]
as.data.frame(maf)
}

Expand Down

0 comments on commit 1f5b1c5

Please sign in to comment.