The option VariableName => q changes the symbol used for intedeterminates in a polynomial ring created with markovRing.
The object VariableName is a symbol.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/GraphicalModels.m2:1888:0.