Improve mixed crop detection (remove Dominance) and allow flexible plot aesthetics
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- r
- Lĩnh vực
- data-visualization
Hướng nghiên cứu
Start by locating the mixed-crop detection that currently relies on Dominance and the plotting functions that assign intercropping aesthetics. Read how Plant, Genotype, and the sim/obs columns are represented and used; the issue does not name specific files or tests. Done means mixed stands can be identified and labeled with Stand_type, while users can customize aesthetics from selected columns or combinations.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Currently, the detection of intercropping (mixed crops) in CroPlotR relies solely on the Dominance column. Graphical outputs also automatically distinguish intercropping results by both species and crop role (main vs. associated), which can lead to unnecessary complexity in the figures.
There are two points to address:
-
Detection of mixed crops
- The current approach uses the
Dominancecolumn. - A more robust method would be to detect mixed crops based on the
Plantcolumn, orPlantcombined withGenotypewhen available, by checking for different plants or genotypes simulated on the same date. - In such cases, a new column
Stand_typecould be added to the data frame with values likeMixedorMonovarietal.
- The current approach uses the
-
Graphical representation
- Currently, intercropping is automatically represented in a predefined way.
- Users may want to distinguish treatments and intercrops differently (e.g., one with colors, the other with symbols), which is difficult with the current approach.
- It would be helpful to allow the user to define colors and symbols based on the content (total or partial, e.g., if the situation name contains the treatment name) of one or several columns in
simandobs(e.g.,Plant,Genotype, or their combination).
Proposed changes
- Implement mixed crop detection based on
Plant(and optionallyGenotype) and store the result in aStand_typecolumn. - Modify plotting functions to allow users to map aesthetics (color, symbol) from arbitrary columns or combinations of columns, providing flexibility to distinguish treatments and intercrops.
- For intercropping plots, consider simplifying default aesthetics by focusing on species/genotypes and Stand_type rather than main/associated crop roles, while still allowing user customization.
- Ngôn ngữ chính
- R
- Star
- 1
- Fork
- 3
- Merge trung bình
- 9 giờ 41 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SticsRPacks/CroPlotR
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
SticsRPacks/CroPlotR#185 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
SticsRPacks/CroPlotR#180 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
SticsRPacks/CroPlotR#186 ·
-
Error is raised if not any var in data.frames in sim_list of a stics_wrapper returned objectĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 57/100
SticsRPacks/CroPlotR#181 ·
-
enhancement
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 64/100
SticsRPacks/CroPlotR#173 ·
Tất cả issue của SticsRPacks/CroPlotR
Issue tương tự
-
1.7
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pharmaverse/admiral#3235 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Typo: p.381Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
rmcelreath/rethinking#482 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày