Skip to content

Commit

Permalink
fix #463
Browse files Browse the repository at this point in the history
  • Loading branch information
ShixiangWang committed Aug 4, 2024
1 parent 01d1e93 commit 9455b46
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: sigminer
Title: Extract, Analyze and Visualize Mutational Signatures for Genomic
Variations
Version: 2.3.1
Version: 2.3.2
Authors@R: c(
person("Shixiang", "Wang", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-9855-7357")),
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# sigminer 2.3.2

- Fixed a bug that generating a wrong data type when only a sample is handled (#463).
Thanks to @selkamand.

# sigminer 2.3.1

- Updated `sig_fit()` related documents for better usage (#454).
Expand Down
2 changes: 1 addition & 1 deletion R/get_sv.R
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ get_matrix_sv <- function(CN_components, indices = NULL) {

sv_mat <- as.matrix(sv_mat[, sort(colnames(sv_mat))])

sv_mat_32 <- sv_mat[, !(grepl("<1Kb", colnames(sv_mat)))]
sv_mat_32 <- sv_mat[, !(grepl("<1Kb", colnames(sv_mat))), drop = FALSE]

return(list(
RS_32 = sv_mat_32,
Expand Down

0 comments on commit 9455b46

Please sign in to comment.