Skip to content

Commit 8dc5c4e

Browse files
committed
Fix SigScores ronames issue; Bump to 3.0.1
1 parent 640c0bc commit 8dc5c4e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: VISION
22
Title: Functional interpretation of single cell RNA-seq latent manifolds
3-
Version: 3.0.0
3+
Version: 3.0.1
44
Authors@R: c(person("Matt", "Jones", email = "mattjones315@gmail.com", role = c("aut", "cre")),
55
person("David", "Detomaso", email = "david.detomaso@berkeley.edu", role = c("aut", "cre")),
66
person("Tal", "Ashuach", email = "tal_ashuach@berkeley.edu", role = c("aut")),
@@ -43,7 +43,7 @@ Encoding: UTF-8
4343
LazyData: true
4444
URL: https://yoseflab.github.io/VISION, https://github.com/yoseflab/VISION
4545
BugReports: https://github.com/YosefLab/VISION/issues
46-
RoxygenNote: 7.1.2
46+
RoxygenNote: 7.2.3
4747
Suggests:
4848
Biobase,
4949
BiocStyle,

R/AnalysisFunctions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ clusterSigScores <- function(object, variables = "All") {
11181118
#' of a particular categorical trait with respect to a tree (as introduced
11191119
#' with the metastatic score in Quinn, Jones et al Science 2021).
11201120
#'
1121-
#' @importFrom phanghorn parsimony
1121+
#' @importFrom phangorn parsimony
11221122
#' @param object the PhyloVision object
11231123
#' @return the object with new continuous covariates populated corresponding to the plasticities
11241124
#' @export

R/SigScoreMethods.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ innerEvalSignatureBatchNorm <- function(normData, sigs) {
9797
C <- (SRsE + SRsRo + SCo) %*% Cs
9898

9999
sigScores <- as.matrix(C)
100+
rownames(sigScores) <- rownames(sigSparseMatrix)
101+
colnames(sigScores) <- colnames(normData@data)
100102

101103
denom <- rowSums(abs(sigSparseMatrix)) # denom is vector of length N_sigs
102104

0 commit comments

Comments
 (0)