The SAGE library class contains all the data and annotation for a SAGE library. It can contain two data.frames.

1 2 3 | ```
read.sage.library(file)
write.sage.library(x, file=paste(x$libname, "sage", sep="."),
what="complete")
``` |

`x` |
A sage library object |

`file` |
File name to read or write to |

`what` |
"complete", read complete librarary tags and sequences; "tags", read only tags and counts |

SAGE library objects consists of one or two data.frames. The
data.frame "tags" contains all the unique tags in the library and its
counts. The data.frame "seqs" contains all the individual tag
sequences and associated quality values. `read.sage.library`

and
`write.sage.library`

are utility functions to read and write SAGE
libraries.

Tim Beissbarth

http://tagcalling.mbgproject.org

`extract.lib`

1 2 3 4 | ```
library(sagenhaft)
E15postHFI <- read.sage.library(system.file("extdata", "E15postHFI.sage",
package="sagenhaft"))
E15postHFI
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.