一、条形图
# 实践:绘制人染色体长度分布图
x <- read.csv(file = "homo_length.csv",header = T)
head(x)
x <- x[1:24,]
barplot...chr,las=2,
border = F,width = c(1,2),space = 1,density = 12,angle = c(45,135))
人染色体长度分布图
二、分组条形图...#绘制分组条形图
x <- read.csv("sv_distrubution.csv",header = T,row.names = 1)
head(x)
#barplot(x)
barplot...ylim = c(0,800),
main = "SV Distribution",xlab="Chromosome Number",ylab="SV Numbers")
堆叠条形图