Skip to contents

venndir Core Functions

Core functions for venndir

Import and Conversion Functions

Functions to help import and convert data

collapse_im()
Collapse incidence matrix using row groups
counts2setlist()
venndir conversion from overlap counts to setlist
im2list()
Incidence matrix to list
im_value2list()
Value incidence matrix to list
list2im_opt()
Optimized list to incidence matrix
list2im_value()
Convert list to a value incidence matrix
overlaplist2setlist()
venndir conversion from overlap list to setlist
signed_counts2setlist()
venndir conversion from signed overlap counts to setlist

venndir Advanced Functions

Internal venndir advanced functions

curate_venn_labels()
Curate Venn labels
get_venndir_curate_df()
Define venndir curate data.frame
modify_venndir_overlap() highlight_venndir_overlap()
Modify Venndir by overlap
nudge_venndir_label()
Nudge venndir labels

JamPolygon object and functions

Mostly internal functions for JamPolygon objects

JamPolygon-class
JamPolygon class
`[`(<JamPolygon>) plot(<JamPolygon>,<missing>) rbind2.JamPolygon() rbind2(<JamPolygon>,<ANY>)
Subset JamPolygon object
Venndir-class
Venndir class
add_orientation_JamPolygon()
Define orientation for each polygon, clockwise or counterclockwise
area_JamPolygon()
Area for each polygon in JamPolygon
bbox_JamPolygon()
Bounding box for JamPolygon
buffer_JamPolygon()
Apply buffer outside or inside JamPolygon
check_JamPolygon()
Check JamPolygon object
check_Venndir()
Check Venndir object
eulerr_to_JamPolygon()
Convert eulerr output to JamPolygon
farthest_point_JamPolygon()
Get the farthest polygon point from a reference point
find_venn_overlaps_JamPolygon()
Find Venn polygon overlaps
has_point_in_JamPolygon()
Determine if a point is inside any JamPolygon
intersect_JamPolygon()
Intersect one or more JamPolygon objects
label_fill_JamPolygon()
Arrange text labels inside a polygon
label_outside_JamPolygon()
Position labels outside JamPolygon
label_segment_JamPolygon()
Define a label segment for JamPolygon
labelr_JamPolygon()
Define label positions for JamPolygon using polylabelr::poi()
minus_JamPolygon()
Subtract one or more JamPolygon objects
nearest_point_JamPolygon()
Get the nearest polygon point to a reference point
nudge_JamPolygon()
Nudge JamPolygon coordinates
plot.JamPolygon()
Plot JamPolygon object
point_in_JamPolygon()
Determine if a point is inside a JamPolygon
polyclip_to_JamPolygon()
Convert polyclip polygon to JamPolygon
polygon_circles()
Make polygon_list circles
polygon_ellipses()
Make polygon_list ellipses
sample_JamPolygon()
Sample points within JamPolygon
split_JamPolygon()
Split JamPolygon multipart polygons
union_JamPolygon()
Union one or more JamPolygon objects
update_JamPolygon()
Update attributes for a JamPolygon object

venndir Geometric Functions

Simple geometric calculations

degrees_to_adj()
Degrees to text adjustment
diff_degrees()
Angular difference in degrees
display_angles()
Display degree angles around a unit circle
mean_degree_arc()
Mean arc angle in degrees
mean_degrees()
Mean angle in degrees
rescale_coordinates()
Scale, rotate, and shift numeric coordinates
spread_degrees()
Spread angles to minimum degrees difference
three_point_angle()
Calculate angle between three consecutive points

venndir Internal Functions

Venndir internal processing functions

assemble_venndir_label()
Assemble grid grobs into venndir labels
expand_range()
Expand numeric range
get_venn_polygon_shapes()
Get Venn shapes as polygon_list
make_color_contrast()
Make color contrast
make_venn_combn_df()
Make full Venn combination data.frame
match_list()
Match list elements to another list
print_color_df()
Print colorized text table
shrink_df()
Shrink data.frame by group
simple_ellipse()
Simple ellipse function
venndir_label_style()
venndir label style
venndir_to_df()
Convert venndir output to data.frame

venndir plotly functions (experimental)

Experimental plotly compatibility

to_basic.GeomRichText()
Basic function for GeomRichText compatibility with ggplotly
to_basic.GeomTextBox()
Basic function for GeomTextBox compatibility with ggplotly