The cross section and transverse single-spin asymmetries of $\mu^{-}$ and $\mu^{+}$ from open heavy-flavor decays in polarized $p$+$p$ collisions at $\sqrt{s}=200$ GeV were measured by the PHENIX experiment during 2012 at the Relativistic Heavy Ion Collider. Because heavy-flavor production is dominated by gluon-gluon interactions at $\sqrt{s}=200$ GeV, these measurements offer a unique opportunity to obtain information on the trigluon correlation functions. The measurements are performed at forward and backward rapidity ($1.4<|y|<2.0$) over the transverse momentum range of $1.25
$A_N$ of negatively-charged muons from open heavy-flavor decays as a function of $p_T$ in the backward ($x_F$ < 0) and forward ($x_F$ > 0) regions.
$A_N$ of positively-charged muons from open heavy-flavor decays as a function of $p_T$ in the backward ($x_F$ < 0) and forward ($x_F$ > 0) regions.
$A_N$ of negatively-charged and positively-charged muons from open heavy-flavor decays as a function of $x_F$, where $x_F$ > 0 is along the direction of the polarized proton.