The question is how to arrange this data.
This is not an trivial question.
When I was extracting the Feature data for one protein, I extracted:
- type[i]
- desc[i]
- stat[i]
- start[i]
- end[i]
in separate arrays and then I used the "array" function to stitch these all together. This worked well because it held each feature in a separate array and then held the feature list together as well.
I could delete a row when I wanted to remove a whole feature.
However, when I tried to do this for multiple proteins, I used the "push" function. Added the information as individual pieces. Now, when I try to delete, it doesn't remove a row but rather just the individual items.
So "push" and "array" are very different.
No comments:
Post a Comment