-
Notifications
You must be signed in to change notification settings - Fork 24
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
Heatmap normalise_by only works by sample names #168
Comments
Hi. It uses the values in the variable supplied to |
Just tried
|
Like this, but a different error. It's rarely used, but should be a quick fix. library("ampvis2")
#> Loading required package: ggplot2
amp_heatmap(
AalborgWWTPs,
group_by = "Plant",
tax_aggregate = "Genus",
normalise_by = "Aalborg West"
)
#> Error in normalise_by %chin% unique(abund7$.Group): table is type 'integer' (must be 'character' or NULL) Created on 2024-01-23 with reprex v2.1.0 |
I see. Combining |
According to the docs I can
If I do
I get:
Error: Plant is not found among group names, cannot normalise
I debugged this a bit, and it seems that normalisation is only possible by a sample at the moment.
Note, For me it would be fine to fix the docs.
The text was updated successfully, but these errors were encountered: