2007-09-13

A primitive way to generate plots

>rawdata
An object of class "marrayRaw"

@maRf
6Hs.195.1.gpr 6Hs.168.gpr 6Hs.166.gpr 6Hs.187.1.gpr 6Hs.194.gpr
[1,] 227 370 139 69 187
[2,] 208 273 181 80 213
.
.
.


@maGf
6Hs.195.1.gpr 6Hs.168.gpr 6Hs.166.gpr 6Hs.187.1.gpr 6Hs.194.gpr
[1,] 357 304 189 106 218
[2,] 292 235 255 133 216
[3,] 284 223 256 123 290
.
.
.
>x <- rawdata@maRf

>y <- rawdata@maGf
>plot(y~x)
Error in plot.new() : figure margins too large

1) check what variables we got within the dataset; here we have @maRf, @maGf and so on
2) Get them
3) plot it, but encounter the same results (this problem has been partially resloved by re-starting R [see NEXT article] )


No comments: