## Calculating transcriptome overlap measure between
## D. melanogaster and C .elegans
## The .rda files used in this example can be downloaded and unzipped from
## http://www.stat.ucla.edu/~jingyi.li/packages/TROM/TROM_Rdata.zip.
## Not run:
# load("dm_gene_expr.rda")
# load("ce_gene_expr.rda")
# load("dm_ce_orthologs.rda")
#
# ## Without user-provided gene lists
# dm_ce_trom <- bs.trom(sp1_gene_expr = dm_gene_expr,
# sp2_gene_expr = ce_gene_expr,
# sp1_sp2_orthologs = dm_ce_orthologs,
# z_thre = 1.5,
# provide = FALSE, save_overlap_genes = FALSE)
#
# ## With user-provided gene lists
# ## compare the first four stages of D. melanogaster and C .elegans
# genelists <- system.file("dm_ce_genelists.xlsx", package = "TROM")
# dm_ce_trom2 <- bs.trom(sp1_sp2_orthologs = dm_ce_orthologs, provide = TRUE,
# gene_lists = genelists)## End(Not run)
Run the code above in your browser using DataLab