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

Suggestion to retain chr and fct vectors in merge_samples #1205

Open
roey-angel opened this issue Aug 6, 2019 · 0 comments
Open

Suggestion to retain chr and fct vectors in merge_samples #1205

roey-angel opened this issue Aug 6, 2019 · 0 comments

Comments

@roey-angel
Copy link

roey-angel commented Aug 6, 2019

Posted as a response to issue #893 but seem to have gone unnoticed.
What about applying a mean to all numeric variables in sample_data() and something like summarise_all(list(~paste(unique(.), collapse = ","))) to all other?
This will retain all unique chr and fct values and in case of conflicting entries for merged samples, both will be retained and separated by a ",".

In the meantime, I use this function to replace merge_samples()

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

No branches or pull requests

1 participant