[R] hidden node names in a dendrogram plot

2003-11-21 Thread Subramanian Karthikeyan
HI All: When I plot a cluster (from hclust(...)) or a dendrogram (as.dendrogram(hclust()), the node names are partly cut off at the bottom of the plot. Is there any way of resizing my cluster plot so that we can see them all? Thanks in advance. Karthi. __

[R] Writing and running a R program

2003-10-23 Thread Subramanian Karthikeyan
Is there a way I can combine multiple lines of R commands (see below) into a little code snippet or a program in a text file, and run it in R to do my analysis? sink("mysink.txt") for (..) { code for creating a dataframe from supplied data code for doing anova from selected data } Thanks very

Re: [R] providing a variable as a parameter in a function

2003-10-22 Thread Subramanian Karthikeyan
John Fox <[EMAIL PROTECTED]To: "Subramanian Karthikeyan" <[EMAIL PROTECTED]> &g

[R] passing a variable (containing the value of the argument) to a function

2003-10-22 Thread Subramanian Karthikeyan
ced by "Effect2" and so on (my other column names in the data frame) for successive anova calculations. So I am storing the column names as an array, and passing the array as a parameter to the lm() function. Thanks, - Forwarded by Subramanian Karthikeyan/HC-S

[R] providing a variable as a parameter in a function

2003-10-22 Thread Subramanian Karthikeyan
>From a data frame, how do we extract a specific column name, and plug that into a command (eg. for Anova as shown below) > df = read.delim("mydata.txt") > y = colnames(df) > r = ncol(x) Lets say that in the data frame column 1 contains treatments, column 2 contains doses, and columns 3, 4, 5 etc

[R] Type III Sum of Squares Calculation

2003-10-21 Thread Subramanian Karthikeyan
HI All: Can anyone give me the formulae/steps for calculating the type III sum of squares for an unbalanced 2-way ANOVA design? Eg. we are looking at 8 treatments x 4 doses, with unequal numbers of replications within the groups. I really need the stepwise calculation, as I would try to put it i

RE: [R] splitting clusters

2003-09-25 Thread Subramanian Karthikeyan
. "Liaw, Andy" <[EMAIL PROTECTED] To: "'Subramanian Karthikeyan'" <[EMAIL PROTECTED]>

Re: [R] splitting clusters

2003-09-25 Thread Subramanian Karthikeyan
<[EMAIL PROTECTED]To: "Subramanian Karthikeyan" <[EMAIL PROTECTED]> th.ethz.ch> cc:

[R] splitting clusters

2003-09-24 Thread Subramanian Karthikeyan
Hi All: I am clustering 500 genes using hclust of R. Visualizing cluster membership becomes difficult with so many genes in each cluster...Is there a way of printing the dendrogram in multiple pages so that I can clearly see what is in each cluster? Thanks in advance. Karthi. _