Skip to content

Commit 9455b46

Browse files
committed
fix #463
1 parent 01d1e93 commit 9455b46

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: sigminer
22
Title: Extract, Analyze and Visualize Mutational Signatures for Genomic
33
Variations
4-
Version: 2.3.1
4+
Version: 2.3.2
55
Authors@R: c(
66
person("Shixiang", "Wang", , "[email protected]", role = c("aut", "cre"),
77
comment = c(ORCID = "0000-0001-9855-7357")),

NEWS.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# sigminer 2.3.2
2+
3+
- Fixed a bug that generating a wrong data type when only a sample is handled (#463).
4+
Thanks to @selkamand.
5+
16
# sigminer 2.3.1
27

38
- Updated `sig_fit()` related documents for better usage (#454).

R/get_sv.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ get_matrix_sv <- function(CN_components, indices = NULL) {
290290

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

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

295295
return(list(
296296
RS_32 = sv_mat_32,

0 commit comments

Comments
 (0)