Skip to content

Commit

Permalink
Merge pull request #68 from lldelisle/master
Browse files Browse the repository at this point in the history
corrected parenthesis momentum_routines.R
  • Loading branch information
pkharchenko authored Mar 27, 2019
2 parents 666e1db + c5b31fd commit d779034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/momentum_routines.R
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ pca.velocity.plot <- function(vel,nPcs=4,cell.colors=NULL,scale='log',plot.cols=
cat("rescaling ... ")
sz <- Matrix::colSums(x0);
x0 <- t(t(x0)/sz)*mean(sz)
x1 <- t(t(x1/Matrix::colSums(x1)))*mean(sz);
x1 <- t(t(x1)/Matrix::colSums(x1))*mean(sz);
}
# transform
if(scale=='log') {
Expand Down

0 comments on commit d779034

Please sign in to comment.