Hello,

I have a problem with the MANOR package. I detected spatial bias, but an
error is reported when I use summary.factor, as reported below:

 

> arrayAB <- import("ar3t.txt", type="default", spot.names=spot.names,
clone.names=clone.names,

+ design=c(8,4,26,26), add.line=T, id.rep=1)

> 

> arrayABTrend <- arrayTrend(arrayAB, "LogRatio", span=0.3, degree=1,

+ iterations=3, family="symmetric")

> 

> arrayABNem <- nem(arrayABTrend, variable="Trend")

> arrayABDet <- detectSB(arrayABNem, variable="LogRatio", proportionup=0.25,
type="up", thresholdup=0.15)

[1] "mean of unbiased zone :  -0.239295621301775"

[1] "Spatial bias has been detected"

  zone.number          mu effectif effectif.cumul frequency.cumul
biased.zone

5           5 -0.00970541     4732           4732         0.21875
1

4           4 -0.10377293     2704           7436         0.34375
0

3           3 -0.21526979     5408          12844         0.59375
0

1           2 -0.24572288     6084          18928         0.87500
0

2           1 -0.40840865     2704          21632         1.00000
0

> summary.factor(arrayABDet$arrayValues$Flag)   ## permanent flags

Error in as.vector(x, mode) : invalid argument 'mode'

In addition: Warning message:

is.na() applied to non-(list or vector) in: is.na(object) 

 

 

Someone can help me to understand and resolve the problem, please?

 

Michela

 

*************************************************

Michela Ballardini

Unità di Biostatistica e Sperimentazioni Cliniche - Pad. Valsalva

c/o OSP. MORGAGNI-PIERANTONI

Via Forlanini, 34

47100 Forlì

Tel. (+39) 0543.731836

Fax (+39) 0543.731612

*************************************************




	[[alternative HTML version deleted]]

