Skip to content

Commit

Permalink
copynumQDNAseq: remove smoothBy in segmentation because crashed on iGP3
Browse files Browse the repository at this point in the history
  • Loading branch information
JocelynSP committed Oct 24, 2024
1 parent 89552a3 commit aa57e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rtools/malDrugR/copynumQDNAseq.R
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ copyNums <- correctBins(countsCorrected)
copyNumsNormed <- normalizeBins(copyNums)
## Segment copynumbers and call as 'gain' or 'loss
copyNumsSegmented <- segmentBins(copyNumsNormed,
transformFun = "sqrt", smoothBy = 5
transformFun = "sqrt"
)
copyNumCalls <- callBins(copyNumsSegmented,
method = "cutoff",
Expand Down Expand Up @@ -212,7 +212,7 @@ cn_seg_trimmed <-
# remove ranges where all calls are the same, i.e. all equal to parent
rowwise() |>
dplyr::filter(
!n_distinct(c_across(callcols)) == 1
n_distinct(c_across(all_of(callcols))) > 1
)

## Write table of segmented CN calls to csv file
Expand Down

0 comments on commit aa57e46

Please sign in to comment.