Skip to content

Commit 03f7909

Browse files
author
ababaian
committed
Include timeline plot
1 parent 89b1ab4 commit 03f7909

File tree

4 files changed

+37
-13
lines changed

4 files changed

+37
-13
lines changed

man/PlotTimeline.Rd

+5-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get.sra.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/read.dtb.Rd

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

palmid.Rmd

+8-3
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ pro.report <- PlotProReport(pro.df, html = T)
135135
tax.report <- PlotTaxReport(pro.df)
136136
137137
# Geospatial distribution Report
138-
geo.report <- PlotGeo2(palm.sra)
138+
geo.report <- PlotGeo2(palm.sra)
139+
date.report <- PlotTimeline(palm.sra)
139140
140141
# Host/Library organism Report
141142
orgn.report <- PlotOrgn(palm.sra, freq = FALSE)
@@ -268,7 +269,7 @@ plot(tax.report)
268269
269270
blast.col <- linkBLAST(pro.df$sseqid, pro.df$full_sseq)
270271
271-
cbind( pro.df[, c("sseqid", 'tspe', "pident", "evalue", "cigar")],
272+
cbind( pro.df[, c("sseqid", "nickname", "tspe", "pident", "evalue", "cigar")],
272273
blast.col) %>%
273274
DT::datatable(
274275
rownames = FALSE, filter = "top", escape = FALSE,
@@ -299,10 +300,14 @@ level matches are red, orange, green and purple, respectively.
299300
# Phylum <45% - Purple
300301
301302
geo.report
302-
303303
```
304304
![](img/tax_legend.png)
305305

306+
```{r, echo = FALSE, fig.height = 3, fig.width = 9}
307+
# Geo-distribution of palmprint-containing SRA
308+
plotly::ggplotly(date.report)
309+
```
310+
306311
#### Virus-Organism Associations
307312

308313
Organism meta-data from the SRA sequencing libraries matching the input-virus.

0 commit comments

Comments
 (0)