ggloor / ALDEx2_dev

ALDEx tool to examine compositional high-throughput sequence data with Welch's t-test
GNU Affero General Public License v3.0
11 stars 6 forks source link

Unexpected effect directions #39

Closed ijhoskins closed 1 year ago

ijhoskins commented 1 year ago

This issue is similar to https://github.com/ggloor/ALDEx2_dev/issues/21

However it doesn't seem like this feature has been implemented yet. Currently, coercion of the conditions character vector to factor causes the levels to be in alphabetical order, which may produce effect sizes in the unexpected direction.

One possible solution is for the conditions argument to accept a factor so that the user can re-level and have control of the which group is the reference.

ggloor commented 1 year ago

Thank you for the suggestion. Its been on my to-do list for a while