Rank over partition

I am trying to figure out how to use Sigma’s rank function to calculate a rank for each row within a partition of a result set. The syntax for doing so in Snowflake is: RANK() OVER ( [ PARTITION BY ] ORDER BY [ { ASC | DESC } ] [ <window_frame> ] )

What is the equivalent way to do this in Sigma?