Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kpjonsson committed Aug 30, 2019
1 parent 5e8a020 commit 42b3f6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geneLevel.R
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ get_gene_level_calls <- function(cncf_files,
FACETS_CALL.em == "HOMDEL" & !(seg.len < max_seg_length & count <= 10) ~ 'FAIL',
TRUE ~ 'PASS'),
# Flag for review certain homdels
review = ifelse(ccs_filter == TRUE & FACETS_CALL.em == "HOMDEL" &
Hugo_Symbol %in% unique(oncokb_tsg$hugoSymbol) & seg.len < 25000000, 'rescue', '')
review = ifelse(ccs_filter == 'FAIL' & FACETS_CALL.em == "HOMDEL" &
Hugo_Symbol %in% unique(oncokb_tsg$hugoSymbol) & seg.len < 25000000, 'rescue', NA_character_)
)

# homdeltsg_review = filter(genelevelcalls0, FACETS_CALL.em == "ccs_filter", FACETS_CALL.ori == "HOMDEL", Hugo_Symbol %in% unique(oncokb_tsg$hugoSymbol), seg.len < 25000000)
Expand Down

0 comments on commit 42b3f6d

Please sign in to comment.