Rでサンプル数の違う二群を一つのファイルとして無理矢理読み込む
setwd ("hogehoge") #入力は以下のような感じ #A+ 0.2 0.5 0.2 0.7 0.9 #A- 0.5 0.6 0.1 0.5 0.6 1.2 3.0 0.8 #B+ 0.2 0.5 0.2 0.7 0.9 #B- 0.5 0.6 0.1 0.5 0.6 1.2 3.0 0.8 dat1<-read.delim("hugahuga.tsv", sep="\t", stringsAsFactors=FALSE, header=FALSE, na.strings="",row.names = 1) #箱ヒゲ書いてみる dat1 <- t(dat1) boxplot(dat1)