Closed Yunuuuu closed 2 weeks ago
mat <- read.table(textConnection(
"s1,s2,s3
g1,snv;indel,snv,indel
g2,,snv;indel,snv
g3,snv,,indel;snv"
), row.names = 1, header = TRUE, sep = ",", stringsAsFactors = FALSE)
mat <- as.matrix(mat)
ggoncoplot(mat)
close 23ed2681ed6eecb730581cf695a982bcfb00966f
A simple solution would be: