breakaway
breakaway copied to clipboard
plot(breakaway(frequencytablelist[[1]])) gives NULL
Hi,
I'm trying to plot the breakaway() function but I got NULL:
> plot(breakaway(frequencytablelist[[1]]))
NULL
I tried the toy_otu_table and it worked well. I'm wondering if there is anything wrong with my breakaway(frequencytablelist[[1]]) result?
> breakaway(frequencytablelist[[1]])
Estimate of richness from method breakaway:
Estimate is 44
with standard error 0.21
Confidence interval: (44, 44)
Cutoff: 10
Thanks! Leran
Thanks, Leran. Can you show us the output of
frequencytablelist[[1]]
? Then we can diagnose and fix if needed.
Thanks for your reply! Here is the result:
> frequencytablelist[[1]]
index frequency
1 2 1
2 3 3
3 4 2
4 5 1
5 6 1
6 7 2
7 8 2
8 9 2
9 10 1
10 11 3
11 13 1
12 15 3
13 16 1
14 18 1
15 20 2
16 22 1
17 23 1
18 25 1
19 26 1
20 33 1
21 38 1
22 39 1
23 48 1
24 80 1
25 91 1
26 162 1
27 239 1
28 249 1
29 294 1
30 791 1
31 1262 1
32 1637 1
33 1878 1
I am also having this issue.
breakaway version 4.8.4. Interestingly the example on the GetStarted vignette runs fine.
My example freq table is: (yes I know I may have too many singletons right now)!
Var1 Freq
1 5648
2 1557
3 703
4 390
5 262
6 215
7 167
8 119
9 71
10 64
11 56
12 56
13 45
14 31
15 38
16 22
17 20
18 21
19 25
20 18
21 15
22 12
23 22
24 7
25 9
26 14
27 12
28 15
29 6
30 8
31 9
32 7
33 8
34 5
35 5
36 9
37 2
38 3
39 8
40 3
41 7
42 5
43 2
44 2
45 4
46 2
47 2
49 2
50 1
51 1
52 1
53 2
54 1
55 1
56 3
57 1
58 1
60 2
61 1
62 2
63 2
64 1
65 3
66 2
67 1
68 1
70 1
71 1
72 1
73 2
74 1
75 2
76 2
77 1
78 1
79 2
82 1
88 2
89 1
94 1
98 1
99 1
101 1
103 1
105 1
111 1
112 1
119 1
123 1
125 1
128 1
136 2
137 1
159 1
163 1
168 1
185 1
194 1
255 1
416 1