Skip to content

Commit

Permalink
Enhanced the read_copynumber_seqz() to include minor copy number. (…
Browse files Browse the repository at this point in the history
…Thanks to yancey)
  • Loading branch information
ShixiangWang committed Dec 15, 2021
1 parent 6534a88 commit e55cb33
Show file tree
Hide file tree
Showing 118 changed files with 17,774 additions and 7,671 deletions.
4 changes: 2 additions & 2 deletions CRAN-RELEASE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This package was submitted to CRAN on 2021-10-29.
Once it is accepted, delete this file and tag the release (commit 98296e4).
This package was submitted to CRAN on 2021-12-15.
Once it is accepted, delete this file and tag the release (commit 6534a88).
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# sigminer 2.1.2

- Enhanced the `read_copynumber_seqz()` to include minor copy number. (Thanks to yancey)
- Added input `range` check in `sig_estimate()`. (#391)

# sigminer 2.1.1
Expand Down
4 changes: 2 additions & 2 deletions R/read_copynumber_seqz.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ read_copynumber_seqz <- function(target_dir, return_df = FALSE, ...) {
message("Processing ", y)
df <- data.table::fread(x, data.table = FALSE)
df <- df %>%
dplyr::select(c("chromosome", "start.pos", "end.pos", "CNt")) %>%
dplyr::select(c("chromosome", "start.pos", "end.pos", "CNt", "B")) %>%
dplyr::mutate(sample = y)
colnames(df) <- c("Chromosome", "Start.bp", "End.bp", "modal_cn", "sample")
colnames(df) <- c("Chromosome", "Start.bp", "End.bp", "modal_cn", "minor_cn", "sample")
df
})

Expand Down
136 changes: 91 additions & 45 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e55cb33

Please sign in to comment.