
Manhattan Plot
Genome-wide scatter plot displaying -log10 p-values of SNP associations across chromosomes, with horizontal significance threshold lines.
Sample code / prompt
import matplotlib.pyplot as plt
import numpy as np
np.random.seed(42)
chroms = list(range(1, 23))
positions = []
pvalues = []
chrom_labels = []
for chrom in chroms:
n_snps = np.random.randint(200, 500)


