Hello,
I am trying to follow along the metagenomeSeq: Statistical analysis for sparse high-throughput sequencing tutorial and keep getting the same error at the model.matrix section.
The code:
mod <- model.matrix( ̃1 + SmokingStatus, data = pd)
The error:
Error: unexpected input in "mod <- model.matrix( ̃"
I am not sure why I am getting the error as I am following the code exactly as listed in the tutorial. Any advice would be really appreciated. Using R 4.2.1, Bioconductor 3.16.
Thanks! Pam
```
I'm guessing that OP has copied and pasted code from the metagenomeSeq pdf vignette and got a non-ascii character in place of the tilde.
Thanks! That was definitely the issue!