-
Notifications
You must be signed in to change notification settings - Fork 2
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
🧱 Helper to extract final spectra as matrix #36
Comments
Thanks for the dedicated issue. In terms of user interface, I think this option should essentially be a switch between a The rationale is:
Finally, I'd suggest to change the argument name, and use a simpler and more common Example call: # Select all OPUS files from a range of folders
opus_fns <- list.files("some/project/folder/", pattern = glob2rx("my_project-*.0"), full.names = TRUE)
# Directly read and assemble MIR matrix from the selected files
mir_mat <- read_opus(
opus_fns,
matrix = TRUE,
progress = TRUE
)
# Quick plot
matplot(t(mir_mat)) |
Thanks for the nice summaries of use cases. I would not rename to |
Because it is quite an important argument for controlling
|
currently it is possible to only parse the data. the combination to a matrix should in my opinion be made in an extra function. |
data_only
and return simplified matrixdata_only
to return only spectra
data_only
to return only spectra
as discussed #27 , now in a separate issue.
The text was updated successfully, but these errors were encountered: