Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge reworked dynplot2 #3

Open
wants to merge 63 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
89e032d
remove some dependencies
zouter Jun 27, 2019
e085580
regenerate data
zouter Jun 27, 2019
2f622bf
no need to cache
zouter Jun 27, 2019
11b87de
switch to devel
rcannood Jul 1, 2019
7b370a7
fixes to imports
rcannood Jul 1, 2019
2dbe688
rename to dynplot2
zouter Jul 2, 2019
79f663c
merge
zouter Jul 2, 2019
f776b2f
fix exports and shadows
rcannood Jul 2, 2019
b4ee566
regenerate readme
rcannood Jul 2, 2019
16c5056
Merge branch 'devel' of github.com:dynverse/dynplot2 into devel
rcannood Jul 2, 2019
01b63d8
fix the same fix as @rcannood
zouter Jul 2, 2019
9c5099f
merge
zouter Jul 2, 2019
9558730
add ggnewscale to description
rcannood Jul 3, 2019
e319e69
Merge branch 'devel' of github.com:dynverse/dynplot2 into devel
rcannood Jul 3, 2019
57c9bb2
update news
zouter Jul 3, 2019
d1c3b4d
Merge branch 'devel' of github.com:dynverse/dynplot2 into devel
zouter Jul 3, 2019
34fa68d
update for r 3.6 news md
rcannood Aug 7, 2019
5a27782
geom expression raster → tile
zouter Aug 22, 2019
e24a215
update readme
zouter Aug 22, 2019
e300dc5
add feature info to feature info
zouter Aug 22, 2019
e11f9cb
add facet data
zouter Aug 22, 2019
44273cd
update selectors
zouter Aug 22, 2019
5a06832
Merge branch 'devel' of github.com:dynverse/dynplot2 into devel
zouter Aug 22, 2019
58e63bc
update docs
zouter Aug 22, 2019
72bbd3c
change select_feature_expression
zouter Aug 22, 2019
c1c2110
quite a bit update
zouter Nov 6, 2019
cf71e52
small fix due to nest update
zouter Nov 6, 2019
01cd2a6
update
zouter Dec 17, 2019
39cdf90
lots of updates
zouter Feb 5, 2020
e08ac87
allow plotting of milestone percentages on hex
zouter Feb 6, 2020
29b714c
dont plot arrow if not directed
zouter Feb 6, 2020
8c14d0c
deduplicate color and colour
zouter Feb 6, 2020
883d213
rename theme graph to theme dynplot
zouter Feb 6, 2020
99dacfa
fix geom velocity stream
zouter Feb 8, 2020
31de5ec
update milestone color helpers
zouter Feb 8, 2020
f37849c
fix arrows in stream
zouter Feb 9, 2020
d6a0ad8
update stream
zouter Feb 10, 2020
9554456
update docs
rcannood Feb 12, 2020
452c8a3
update description
rcannood Feb 13, 2020
ec662da
fix desc
rcannood Feb 13, 2020
af5b316
update license
rcannood Feb 13, 2020
b17a4d3
update rbuildignore
rcannood Feb 13, 2020
3623f9d
update default stream
zouter Feb 13, 2020
72ef111
update license
rcannood Feb 13, 2020
7119606
fix example
rcannood Mar 30, 2020
83834f1
fix buildignore
rcannood Mar 30, 2020
c7e7102
update packages
rcannood Mar 30, 2020
cafe337
fix imports and examples
rcannood Mar 30, 2020
e3d9636
update roxygen
rcannood Mar 30, 2020
a366f79
fix example
rcannood Mar 30, 2020
5dbed0c
add pseudotime if available
zouter Apr 1, 2020
e50438b
Merge branch 'devel' of github.com:dynverse/dynplot2 into devel
zouter Apr 1, 2020
bc0595a
export extra scales
rcannood Apr 30, 2020
96d5509
expression future was removed in favour of velocity vector
rcannood Apr 30, 2020
b8ce19b
Merge branch 'devel' of github.com:dynverse/dynplot2 into devel
zouter Apr 30, 2020
13db811
fix check
rcannood May 4, 2020
1e96aed
Merge branch 'devel' of github.com:dynverse/dynplot2 into devel
zouter May 7, 2020
412a73c
fix cell contour
zouter Oct 28, 2020
c7368cc
fix example
rcannood Dec 16, 2021
f73e984
update description
rcannood Dec 16, 2021
fa51df2
refactor dynplot docs
rcannood Dec 16, 2021
ef27642
refactor dynplot functions into separate files and write docs
rcannood Dec 16, 2021
1d92464
refactoring dynplot2 codebase
rcannood Dec 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
^\.readme_files
^README
^tests
^LICENSE\.md$
^data-raw
Binary file removed .readme_files/cells-1.png
Binary file not shown.
Binary file removed .readme_files/features-1.png
Binary file not shown.
Binary file removed .readme_files/heatmap-1.png
Binary file not shown.
32 changes: 20 additions & 12 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,53 +1,61 @@
Package: dynplot2
Type: Package
Title: Grammar of graphics for single-cell data
Version: 1.0.0
Title: Modular trajectory plotting
Version: 1.1.0
Authors@R: c(
person("Robrecht", "Cannoodt", email = "[email protected]", role = c("aut")),
person("Wouter", "Saelens", email = "[email protected]", role = c("aut", "cre")))
Description: Package that create ggplot2 plots of single-cell datasets.
License: GPL-3
Description: Finetune visualisations of trajectories using ggplot2's grammar of graphics principles.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.1.1
RoxygenNote: 7.1.1
SystemRequirements: libudunits2-dev (deb) or udunits2-devel (rpm)
URL: https://github.com/dynverse/dynplot2
BugReports: https://github.com/dynverse/dynplot2/issues
Depends:
R (>= 3.0.0)
Imports:
assertthat,
cowplot,
dplyr,
digest,
dynutils (>= 1.0.2),
dynfeature (>= 1.0.0),
dyndimred (>= 1.0.0),
dynwrap (>= 1.0.0),
GA,
ggbeeswarm,
ggnewscale,
ggplot2 (>= 3.0),
ggraph,
ggrepel,
grDevices,
igraph,
MASS,
magrittr,
Matrix,
methods,
purrr,
rje,
shades,
reticulate,
rlang,
RColorBrewer,
reshape2,
scvelo,
shades,
stats,
stringr,
testthat,
tibble,
tidyr,
tidygraph,
utils,
vipor,
viridis
Suggests:
knitr,
rmarkdown
Remotes:
dynverse/dynutils@master,
dynverse/dyndimred@master,
dynverse/dynwrap@master,
dynverse/dynfeature@master
Remotes:
dynverse/scvelo@devel
VignetteBuilder: knitr
Roxygen: list(markdown = TRUE)
2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
YEAR: 2014-2020
COPYRIGHT HOLDER: Robrecht Cannoodt, Wouter Saelens
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# MIT License

Copyright (c) 2014-2020 Robrecht Cannoodt, Wouter Saelens

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
56 changes: 43 additions & 13 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,36 +1,55 @@
# Generated by roxygen2: do not edit by hand

S3method(ggplot_build,dynplot)
export(color_milestone_percentages)
export(define_milestone_colors)
export(dynplot)
export(dynplot_dendro)
export(dynplot_dimred)
export(dynplot_graph)
export(dynplot_onedim)
export(empty_plot)
export(facet_grid_data)
export(facet_wrap_data)
export(geom_cell_hex)
export(geom_cell_point)
export(geom_expression_raster)
export(geom_expression_tile)
export(geom_feature_text)
export(geom_milestone_label)
export(geom_milestone_point)
export(geom_trajectory_connection)
export(geom_trajectory_divergence)
export(geom_trajectory_segments)
export(geom_velocity_arrow)
export(geom_velocity_stream)
export(get_features)
export(get_milestone_palette_names)
export(layout_dendro)
export(layout_dimred)
export(layout_graph)
export(layout_heatmap)
export(layout_modules)
export(layout_onedim)
export(milestone_palette)
export(milestone_percentage_breaks)
export(new_scale)
export(new_scale_fillcolour)
export(scale_expression_fillcolour)
export(scale_milestones_fillcolour)
export(select_expression)
export(shadow)
export(new_scale_color)
export(new_scale_colour)
export(new_scale_fill)
export(scale_expression_color)
export(scale_expression_colour)
export(scale_expression_fill)
export(scale_milestones_color)
export(scale_milestones_colour)
export(scale_milestones_fill)
export(scale_velocity_color)
export(scale_velocity_fill)
export(scale_x_heatmap)
export(select_feature_expression)
export(select_feature_velocity)
export(shadow_defaults)
export(stat_velocity_cells)
export(stat_velocity_grid)
export(stat_velocity_random)
export(stat_velocity_stream)
export(theme_clean)
export(theme_graph)
export(theme_dynplot)
import(dplyr)
import(dyndimred)
import(dynutils)
Expand All @@ -41,18 +60,29 @@ import(purrr)
import(tibble)
import(tidyr)
importFrom(GA,ga)
importFrom(Matrix,t)
importFrom(RColorBrewer,brewer.pal)
importFrom(assertthat,assert_that)
importFrom(grDevices,col2rgb)
importFrom(grDevices,rainbow)
importFrom(grDevices,rgb)
importFrom(magrittr,"%$%")
importFrom(magrittr,"%<>%")
importFrom(magrittr,set_colnames)
importFrom(magrittr,set_rownames)
importFrom(rje,cubeHelix)
importFrom(rlang,"%|%")
importFrom(rlang,eval_tidy)
importFrom(rlang,quo)
importFrom(rlang,quo_text)
importFrom(shades,hue)
importFrom(stats,as.dendrogram)
importFrom(stats,as.dist)
importFrom(stats,cor)
importFrom(stats,dist)
importFrom(stats,hclust)
importFrom(stats,kmeans)
importFrom(stats,runif)
importFrom(stringr,str_detect)
importFrom(stringr,str_glue)
importFrom(stringr,str_split)
importFrom(utils,head)
importFrom(utils,tail)
4 changes: 4 additions & 0 deletions inst/NEWS.md → NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# dynplot2 1.0.0 (unreleased)

* Spin-off from dynplot, dynplot2 provides a more modular interface to visualize trajectories

# dynplot 1.0.0 (28-03-2019)

* Initial release of dynplot
Expand Down
Loading