Skip to content
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

Re-enable parallelism in feature.align.R #229

Closed
hechth opened this issue Oct 24, 2024 · 0 comments · Fixed by #230
Closed

Re-enable parallelism in feature.align.R #229

hechth opened this issue Oct 24, 2024 · 0 comments · Fixed by #230
Assignees

Comments

@hechth
Copy link
Member

hechth commented Oct 24, 2024

aligned_features <- foreach::foreach(
i = seq_along(sel.labels), .combine = "comb", .multicombine = TRUE
) %do% {
rows <- create_features_from_cluster(
dplyr::filter(features_table, cluster == sel.labels[i]),
mz_tol_relative,
rt_tol_relative,
min_occurrence,
sample_names
)
list(metadata = rows$metadata_row, intensity = rows$intensity_row, rt = rows$rt_row)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant