Compositions effective for treating or preventing an anthrax infection in a subject in need thereof and recombinant proteins included in the compositions are provided. Methods for producing recombinant proteins in plants are described. Transgenic plants engineered to produce recombinant proteins as well as genetic constructs comprising nucleic acids encoding recombinant proteins thereof are also described. Methods of protecting subjects against anthrax infection with plant-derived compositions are provided.