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
This isn't so bad, but it's annoying to have to always explicitly coerce to a data frame.
If we could define count() methods for sample_data and tax_table objects, then we could just omit that step. However, I haven't figured out how to define methods for S4 objects in a way that doesn't interfere with dplyr's functions (hence why we now have ps_tibble() instead of just as_tibble() methods). An alternative would be to go the route of the other dplyr verbs and define count_sample_data() and count_tax_table() functions.
ps %>% count_sample_data(SampleType)
The text was updated successfully, but these errors were encountered:
Problem: Currently one needs to do
This isn't so bad, but it's annoying to have to always explicitly coerce to a data frame.
If we could define
count()
methods for sample_data and tax_table objects, then we could just omit that step. However, I haven't figured out how to define methods for S4 objects in a way that doesn't interfere with dplyr's functions (hence why we now haveps_tibble()
instead of justas_tibble()
methods). An alternative would be to go the route of the other dplyr verbs and definecount_sample_data()
andcount_tax_table()
functions.The text was updated successfully, but these errors were encountered: