Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
update site
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagoOlivoto committed Nov 9, 2021
1 parent 7c061c3 commit f018f4e
Show file tree
Hide file tree
Showing 70 changed files with 1,413 additions and 888 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ biocViews:
Encoding: UTF-8
Language: en-US
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.1
RoxygenNote: 7.1.2
Imports:
lattice
5 changes: 2 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# pliman 1.0.0
## New functions
* `analyze_objects()` is now used as the main function to compute the number and shape of objects.
* `measure_disease()` is now used as the main function to perform phytopatometry studies. The function can compute symptomatic area, as well as number and shape of lesions.
* `measure_disease()` is now used as the main function to perform phytopatometry studies. The function can compute symptomatic area, as well as the number and shape of lesions.
* `image_segment_iter()` is used to performs iterative image segmentation.
* `conv_hull()`, `poly_area()`, and `plot_contour()` as utilities for analyzing polygons.
* `conv_hull()`, `poly_area()`, `poly_mass()`, `poly_spline()`, `plot_contour()`, and `plot_ellipse()` as utilities for analyzing polygons.
* `dpi()` to compute the resolution (dots per inch) of an image.
* `tune_tolerance()` for tunning the `tolerance` parameter.


## Deprecated functions.
* `objects_rgb()` will be depracated in the future. Now, to compute an index for each object use the `object_index` argument in `analyze_objects()`, for example, `analyze_objects(object_index = "B")`.
* `leaf_area()` will be depracated in the future. Now, combine `analyze_objects()` with `get_measures()` to obtain the area and shape of objects (leaves).
Expand Down
2 changes: 1 addition & 1 deletion R/analyze_objects.R
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
#'
#' Lee, Y., & Lim, W. (2017). Shoelace Formula: Connecting the Area of a Polygon
#' and the Vector Cross Product. The Mathematics Teacher, 110(8), 631–636.
#' \doi{10.5951/MATHTEACHER.110.8.0631}
#' \doi{10.5951/mathteacher.110.8.0631}
#'
#' @export
#' @name analyze_objects
Expand Down
10 changes: 4 additions & 6 deletions R/utils_polygon.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#' @export
#' @references Lee, Y., & Lim, W. (2017). Shoelace Formula: Connecting the Area
#' of a Polygon and the Vector Cross Product. The Mathematics Teacher, 110(8),
#' 631–636. doi:10.5951/MATHTEACHER.110.8.0631
#' 631–636. \doi{10.5951/mathteacher.110.8.0631}
#' @examples
#' \donttest{
#' library(pliman)
Expand All @@ -74,13 +74,11 @@
#'
#'# The convex hull will be the vertices of the square
#' (conv_square <- conv_hull(df))
#' plot_contour(conv_square,
#' col = "blue",
#' lwd = 6)
#' poly_area(conv_square)
#'
#' with(conv_square,
#' lines(x, y,
#' col = "blue",
#' lwd = 10))
#'
#'############# Example with a polygon#############
#' x <- c(0, 1, 2, 3, 5, 2, -1, 0, 0)
#' y <- c(5, 6.5, 7, 3, 1, 1, 0, 2, 5)
Expand Down
5 changes: 0 additions & 5 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,3 @@ sev$severity
Please note that the pliman project is released with a [Contributor Code of Conduct](https://tiagoolivoto.github.io/pliman/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.


<!-- inicio academic icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
<!-- final academic icons -->
<!-- inicio font awesome -->
<script src="https://kit.fontawesome.com/1f72d6921a.js" crossorigin="anonymous"></script>
18 changes: 12 additions & 6 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ home:
description: Tools for Plant Image Analysis

template:
assets: fans.html
params:
bootswatch: spacelab
ganalytics: G-VWN5YL53DP
Expand Down Expand Up @@ -38,7 +39,11 @@ navbar:
- text: "Functions"
href: reference/index.html
- text: News
href: news/index.html
menu:
- text: Package news
href: news/index.html
- text: Blog posts
href: https://olivoto.netlify.app/
- text: More
menu:
- text: Code of Conduct
Expand All @@ -52,14 +57,13 @@ navbar:
- text: Licence
href: LICENSE.html
right:
- text: "RG"
- icon: "fab fa-researchgate fa-2x"
href: https://www.researchgate.net/profile/Tiago_Olivoto2
icon: ai ai-researchgate
- icon: "fab-github"
- icon: "fa-github fa-2x"
href: https://github.com/TiagoOlivoto
- icon: "fab fa-twitter"
- icon: "fab fa-twitter fa-2x"
href: https://twitter.com/tolivoto
- icon: "fab fa-mendeley"
- icon: "fab fa-mendeley fa-2x"
href: https://www.mendeley.com/profiles/tiago-olivoto/


Expand Down Expand Up @@ -127,3 +131,5 @@ reference:
- measure_disease
- symptomatic_area
- sad


25 changes: 18 additions & 7 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 18 additions & 7 deletions docs/CODE_OF_CONDUCT.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 20 additions & 9 deletions docs/CONTRIBUTING.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 18 additions & 7 deletions docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 18 additions & 7 deletions docs/SUPPORT.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f018f4e

Please sign in to comment.