Skip to content

Commit

Permalink
Fix SigScores ronames issue; Bump to 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
deto committed Feb 8, 2023
1 parent 640c0bc commit 8dc5c4e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: VISION
Title: Functional interpretation of single cell RNA-seq latent manifolds
Version: 3.0.0
Version: 3.0.1
Authors@R: c(person("Matt", "Jones", email = "[email protected]", role = c("aut", "cre")),
person("David", "Detomaso", email = "[email protected]", role = c("aut", "cre")),
person("Tal", "Ashuach", email = "[email protected]", role = c("aut")),
Expand Down Expand Up @@ -43,7 +43,7 @@ Encoding: UTF-8
LazyData: true
URL: https://yoseflab.github.io/VISION, https://github.com/yoseflab/VISION
BugReports: https://github.com/YosefLab/VISION/issues
RoxygenNote: 7.1.2
RoxygenNote: 7.2.3
Suggests:
Biobase,
BiocStyle,
Expand Down
2 changes: 1 addition & 1 deletion R/AnalysisFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ clusterSigScores <- function(object, variables = "All") {
#' of a particular categorical trait with respect to a tree (as introduced
#' with the metastatic score in Quinn, Jones et al Science 2021).
#'
#' @importFrom phanghorn parsimony
#' @importFrom phangorn parsimony
#' @param object the PhyloVision object
#' @return the object with new continuous covariates populated corresponding to the plasticities
#' @export
Expand Down
2 changes: 2 additions & 0 deletions R/SigScoreMethods.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ innerEvalSignatureBatchNorm <- function(normData, sigs) {
C <- (SRsE + SRsRo + SCo) %*% Cs

sigScores <- as.matrix(C)
rownames(sigScores) <- rownames(sigSparseMatrix)
colnames(sigScores) <- colnames(normData@data)

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

Expand Down

0 comments on commit 8dc5c4e

Please sign in to comment.