data(lesion_data)
data(hg38_gene_annotation)
data(hg38_chrom_size)
# Run GRIN analysis
grin.results <- grin.stats(lesion_data,
hg38_gene_annotation,
hg38_chrom_size)
# Define a list of genes to be included in the bar plot (e.g., candidate driver genes)
count.genes <- c("TAL1", "FBXW7", "PTEN", "IRF8", "NRAS",
"BCL11B", "MYB", "LEF1", "RB1", "MLLT3",
"EZH2", "ETV6", "CTCF", "JAK1", "KRAS",
"RUNX1", "IKZF1", "KMT2A", "RPL11", "TCF7",
"WT1", "JAK2", "JAK3", "FLT3")
# Generate the bar plot
grin.barplt(grin.results, count.genes)
Run the code above in your browser using DataLab