-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make a scalar center
argument for matrix functions defunct
#254
Comments
@PeteHaitch, passing a scalar to argument |
@const-ae, FYI, passing a scalar to argument > sparseMatrixStats::colVars(sparse_mat, center = 4)
[1] 17.7777778 0.0000000 0.4444444 1.8888889 1.0000000 0.0000000 |
Thanks for the heads up. I made scalar 'center' arguments defunct in the devel version of |
Thanks for the heads up. I'll take care of it before the upcoming BioC release. |
…unct; no negative side effects [#254] [ci skip]
Thank you. I've checked that there are no negative revdep side effects, so this will now be the default in the next release. |
Is the new release imminent? |
I'm thinking before ... Would it matter, given that I don't find any revdep packages being affected? |
... and in worst case scenario (for current Bioc release and likes), it can for now be reverted using:
or in R, by: options(matrixStats.center.onScalar = "deprecated") This will be documented in |
Thanks for the extra info. |
- This follows a similar change in **matrixStats** (HenrikBengtsson/matrixStats#254)
Made the change for current devel (BioC 3.19) but not touched current release (BioC 3.18). |
We have had the following since matrixStats 0.58.0 (2021-01-26):
center
ofcolSds()
,rowSds()
,colVars()
,rowVars()
,colMads()
,rowMads()
,colWeightedMads()
, androwWeightedMads()
is now deprecated.We should move to make it defunct by default.
I've started revdep checks with
R_MATRIXSTATS_CENTER_ONSCALAR=defunct
to see if there are any negative side effects.The text was updated successfully, but these errors were encountered: