I am doing cluster analysis of my SNPs data. I have 2 questions:
1. I draw the cluster in hclust using the following codes.change direction
to vertical.

>data <- read.table(as.matrix(file.choose()), header=T, row.names = 1,
sep="\t")
> plot(hclust(as.dist(data),method="complete"))

 it is horizontal, and I dont know how to change to vertical shape?

2. I would like to have bootstraps, but no luck. I am using the following
codes:

> result <- pvclust(as.dist(data), method.dist="cor",
method.hclust="complete", nboot=1000)

Error in cor(x, method = "pearson", use = use.cor) :
  supply both 'x' and 'y' or a matrix-like 'x'


I will appreciate if someone could help me please


-- 
*Abbasali "Ali" Ravanlou
PhD candidate of Plant Pathology
**Dept. of Crop Sci.*
*University of Illinois-UC**
** **
**
*

	[[alternative HTML version deleted]]

