Class for storing the data of a pairwise comparison between two SAGE libraries.

1 2 3 | ```
read.sage.library.comparison(file)
write.sage.library.comparison(x, file=paste(x$name, "sagecomp", sep="."))
compare.lib.pair(lib1, lib2)
``` |

`x,lib1,lib2` |
A sage library object |

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

SAGE library comparison objects consists of one data.frames. It stores
a A and an M value which are the log2 average expression and log2
ratio, respectively. It also has a column for the resulting p.values
from `sage.test`

.
`read.sage.library.comparison`

and
`write.sage.library.comparison`

are utility functions to read and
write SAGE library comparisons. `compare.lib.pair`

can be used to
generate SAGE library comparisons.

Tim Beissbarth

http://tagcalling.mbgproject.org

1 2 3 4 5 6 7 8 | ```
library(sagenhaft)
B6Hypo <- read.sage.library(system.file("extdata", "B6HypothalHFI.sage",
package="sagenhaft"))
E15post <- read.sage.library(system.file("extdata","E15postHFI.sage",
package="sagenhaft"))
libcomp <- compare.lib.pair(B6Hypo, E15post)
plot(libcomp)
libcomp
``` |

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

Please suggest features or report bugs with the GitHub issue tracker.

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