You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current defaults for spectrapply() pass along an index/domain variable as the second argument. For MSI, the default is "mz", and for generic spectra it is a dummy ordinal index.
This requires creating wrappers for basic summary functions like sum() that will include all unnamed variables passed to them in their computation. Obviously, needing wrappers for basic summarization adds unnecessary complexity.
We should change the default to index=NULL not passing any additional variables to the spectrapply() function.
The text was updated successfully, but these errors were encountered:
The current defaults for
spectrapply()
pass along an index/domain variable as the second argument. For MSI, the default is"mz"
, and for generic spectra it is a dummy ordinal index.This requires creating wrappers for basic summary functions like
sum()
that will include all unnamed variables passed to them in their computation. Obviously, needing wrappers for basic summarization adds unnecessary complexity.We should change the default to
index=NULL
not passing any additional variables to thespectrapply()
function.The text was updated successfully, but these errors were encountered: