Some gene alterations are inherited, but most brain and spinal cord tumours aren't. Other than radiation, no lifestyle or environmental factors are associated with brain cancer.