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

Dont use characters other than letters, numbers, '_' and '.' in the design #235

Open
hoelzer opened this issue Mar 8, 2024 · 0 comments

Comments

@hoelzer
Copy link
Contributor

hoelzer commented Mar 8, 2024

Note: levels of factors in the design contain characters other than letters, numbers, '' and '.'. It is recommended (but not required) to use only letters, numbers, and delimiters '' or '.', as these are safe characters for column names in R. [This is a message, not a warning or an error]

Although this is not a warning/error, it seems to cause problems in

  coef <- match(
    x = paste(factor, numerator, "vs", denominator, sep = "_"),
    table = resultsNames )

For example, I had the case that coef was NA because of x resulting in condition_6h-IFN_vs_6h-RVFV but in the table I had

> table
[1] "Intercept"                     "condition_6h.IFN_vs_6h.RVFV"
[3] "condition_24h.RVFV_vs_6h.RVFV" "condition_24h.mock_vs_6h.RVFV"
[5] "condition_24h.IFN_vs_6h.RVFV"  "condition_6h.mock_vs_6h.RVFV"

My input files use 24h-RVFV etc... but apparently - is bad.

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