Hi I have a nested object which I think contains tables. I used str to see how it looks like,
> str(test)
Formal class 'CuffData' [package "cummeRbund"] with 5 slots
..@ DB :Formal class 'SQLiteConnection' [package "RSQLite"] with 5 slots
.. .. ..@ Id :<externalptr>
.. .. ..@ dbname : chr "C:/temp/cuffData.db"
.. .. ..@ loadable.extensions: logi TRUE
.. .. ..@ flags : int 6
.. .. ..@ vfs : chr ""
..@ tables :List of 6
.. ..$ mainTable : chr "genes"
.. ..$ dataTable : chr "geneData"
.. ..$ expDiffTable : chr "geneExpDiffData"
.. ..$ featureTable : chr "geneFeatures"
.. ..$ countTable : chr "geneCount"
.. ..$ replicateTable: chr "geneReplicateData"
..@ filters: list()
..@ type : chr "genes"
..@ idField: chr "gene_id"
however when I tried to to read the table mainTable all I get is this,
> test@tables$mainTable
[1] "genes"
- is there any way I can read what is in this table?
- Not sure if I'm even interpreting the str output correctly though. I'm a newbie at this and I'm also wondering if there is a good tutorial on how to interpret objects like these in R? Examples would be even better.
thanks you much in advance. Ahdee