Hi All,
I am new at R so any help would be appreciate.
Below my current R-code/script:
initial.dir<-getwd()
setwd('/Users/jurgens/VirtualEnv/venv/Projects/QTLS/Resaved_Results')
dataset <- read.table("LWxANNA_FinalReport_resaved_spwc.csv", header=TRUE,
sep="\t" )
n <- length(dataset$X..No.Call)
x <- sort(dataset$X..No.Call,partial = n )[n]
outlier <- dataset[ dataset$X..No.Call > quantile(dataset$X..No.Call,0.25)
+ (IQR(dataset$X..No.Call) *1.5),]
par( las=2, cex.axis=0.5, cex.lab=1, cex.main=2, cex.sub=1)
barplot(dataset$X..No.Call, names.arg = dataset$Individual.Sample,
cex.names=0.5 ,space=0.5, ylim=c(0,x*1.5) )
setwd(initial.dir)
I would like to highlight the sample in outlier on the barplot that is
create, would this be possible?
Thanks
--
Regards/Groete/Mit freundlichen GrüÃen/recuerdos/meilleures salutations/
distinti saluti/siong/duì yú/пÑивеÑ
Jurgens de Bruin
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.