Thank you for your prompt response and for the reading suggestions.
I found this tutorial on obtaining the StandardScaler equivalent of the R-base function scale "with a tweek". https://mahout.apache.org/docs/latest/algorithms/preprocessors/StandardScaler.html
According to the tutorial:
The StandardScaler is the equivelent of the R-base function scale with one noteable tweek. R’s scale function (indeed all of R) calculates standard deviation with 1 degree of freedom, Mahout (like many other statistical packages aimed at larger data sets) does not make this adjustment.
Then I applied the suggestion to my dataset ("use the following form in R to “undo” the degrees of freedom correction"):
N <- nrow(GSVA_subset)
GSVA_scaled <- scale(GSVA_subset, scale= apply(meta_subset, 2, sd) * sqrt(N-1/N))