response to heparin
Any process that results in a change in state or activity of a cell or an organism (in terms of movement, secretion, enzyme production, gene expression, etc.) as a result of a heparin stimulus.
GO:1901698
response to nitrogen compound
is_a
GO:1901700
response to oxygen-containing compound
is_a