Skip to content

Commit

Permalink
plotRDA (#87)
Browse files Browse the repository at this point in the history
* Initialise plotRDA

* up

* up

* up

* up

* Match dot and ellipse colours

* Add arguments for ellipse, vector and text aesthetics

* plotRDA -> Add option to turn off text repel and catch all ggrepel args

* up

* Catch all params for plotReducedDim

* up

* Update plotRDA vignettes

* Make alias plotCCA for plotRDA

* Use retrieveCellInfo in plotRDA

* Remove remnants of conflicts

* Implement method of plotRDA for rda/cca object and extend vignettes

* Streamline plotRDA code

* Catch all args in setGeneric and setMethod of plotRDA

* Minor fixes

* Update plotRDA docs and check input params

* Fix build for plotRDA

* Update docs on plotRDA

* Import SingleCellExperiment in DESCRIPTION

* Fix DESCRIPTION

* Update plotRDA examples

* Fix plotRDA docs

* Debug and add signif/variance args to plotRDA

* Implement add.ellipse arg in plotRDA

* Update plotRDA vignettes

* Bump version and add news

* Initiate tests for plotRDA and correct version

* Implement unit tests for plotRDA

* up

---------

Co-authored-by: Giulio Benedetti <[email protected]>
  • Loading branch information
TuomasBorman and RiboRings authored Sep 11, 2023
1 parent b811da5 commit aaf0941
Show file tree
Hide file tree
Showing 8 changed files with 906 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
.RData
.pdf
inst/extras/
^doc$
^Meta$
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ inst/doc
docs
.Rhistory
*.RData
.DS_Store
/doc/
/Meta/
11 changes: 8 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: miaViz
Title: Microbiome Analysis Plotting and Visualization
Version: 1.9.2
Version: 1.9.3
Authors@R:
c(person(given = "Tuomas", family = "Borman", role = c("aut", "cre"),
email = "[email protected]",
Expand All @@ -11,7 +11,10 @@ Authors@R:
person(given = "Leo", family = "Lahti", role = c("aut"),
email = "[email protected]",
comment = c(ORCID = "0000-0001-5537-637X")),
person(given = "Basil", family = "Courbayre", role = c("ctb"))
person(given = "Basil", family = "Courbayre", role = c("ctb")),
person(given = "Giulio", family = "Benedetti", role = c("ctb"),
email = "[email protected]",
comment = c(ORCID = "0000-0002-8732-7692"))
)
Description: The miaViz package implements functions to visualize
TreeSummarizedExperiment objects especially in the context of microbiome
Expand Down Expand Up @@ -46,7 +49,9 @@ Imports:
tidyr,
dplyr,
ape,
DirichletMultinomial
DirichletMultinomial,
ggrepel,
SingleCellExperiment
Suggests:
knitr,
rmarkdown,
Expand Down
9 changes: 9 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Generated by roxygen2: do not edit by hand

export(plotAbundanceDensity)
export(plotCCA)
export(plotColGraph)
export(plotColTile)
export(plotDMNFit)
export(plotPrevalence)
export(plotPrevalentAbundance)
export(plotRDA)
export(plotRowGraph)
export(plotRowTile)
export(plotSeries)
Expand All @@ -16,12 +18,14 @@ exportMethods(colTreeData)
exportMethods(combineTreeData)
exportMethods(plotAbundance)
exportMethods(plotAbundanceDensity)
exportMethods(plotCCA)
exportMethods(plotColGraph)
exportMethods(plotColTile)
exportMethods(plotColTree)
exportMethods(plotDMNFit)
exportMethods(plotPrevalence)
exportMethods(plotPrevalentAbundance)
exportMethods(plotRDA)
exportMethods(plotRowGraph)
exportMethods(plotRowTile)
exportMethods(plotRowTree)
Expand All @@ -45,6 +49,8 @@ importFrom(DelayedArray,rowMeans)
importFrom(DelayedArray,rowSums)
importFrom(DirichletMultinomial,mixture)
importFrom(S4Vectors,metadata)
importFrom(SingleCellExperiment,reducedDim)
importFrom(SingleCellExperiment,reducedDimNames)
importFrom(SummarizedExperiment,assay)
importFrom(SummarizedExperiment,colData)
importFrom(SummarizedExperiment,rowData)
Expand Down Expand Up @@ -90,6 +96,8 @@ importFrom(ggplot2,scale_y_discrete)
importFrom(ggplot2,theme)
importFrom(ggplot2,theme_bw)
importFrom(ggplot2,theme_classic)
importFrom(ggrepel,geom_label_repel)
importFrom(ggrepel,geom_text_repel)
importFrom(ggtree,geom_cladelab)
importFrom(ggtree,geom_highlight)
importFrom(ggtree,geom_nodelab)
Expand All @@ -105,6 +113,7 @@ importFrom(rlang,"!!")
importFrom(rlang,":=")
importFrom(rlang,sym)
importFrom(scater,plotExpression)
importFrom(scater,plotReducedDim)
importFrom(scater,retrieveCellInfo)
importFrom(scater,retrieveFeatureInfo)
importFrom(stats,sd)
Expand Down
3 changes: 2 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ Changes in version 1.7.x
+ Fixed plotGraph* that was broked due changes in dependencies

Changes in version 1.9.x
+ Updated plotDMN to work with newest mia version
+ Updated plotDMN to work with newest mia version
+ Added plotCCA and plotRDA functions
Loading

0 comments on commit aaf0941

Please sign in to comment.