To make an edible potato vaccine, a gene from a pathogen is tranferred into a vector and then into a bacterium that infects potato leaves. Leaf segments are grown into potato plants that express the pathogenic gene. Eating the raw potato triggers an immune response to the pathogenic protein.