Displaying 1 result from an estimated 1 matches for "tumor_cn".
2007 Jul 04
0
Sorting the levels of a factor
...you read your data using read.table() in the first place.
Hope this helps
Best wishes
Gordon
At 11:21 PM 3/07/2007, Qu, Chunxu wrote:
>In our Linux cluster, unique did not sort the array but levels did.
>See below.
>Chunxu
>
> > unique(targets$Class)
>[1] Normal Tumor Tumor_CN Normal_CN
>Levels: Normal Normal_CN Tumor Tumor_CN
> > levels(unique(targets$Class))
>[1] "Normal" "Normal_CN" "Tumor" "Tumor_CN"
>
>
>
>-----Original Message-----
>From: Gordon Smyth [mailto:smyth at wehi.EDU.AU]
>Sent:...