Skip to contents

venndir Core Functions

Core functions for venndir

render_venndir()
Render venndir output
signed_overlaps()
Signed overlaps
textvenn()
Text Venn diagram
venn_meme()
Venn Meme
venndir()
Directional Venn diagram

Import and Conversion Functions

Functions to help import and convert data

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

JamPolygon object and functions

Functions for JamPolygon objects

JamPolygon-class
JamPolygon class
`[`(<JamPolygon>,<ANY>,<ANY>,<ANY>) 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 polygon Functions

Functions for polygons

get_venn_polygon_shapes()
Get Venn shapes as polygon_list
simple_ellipse()
Simple ellipse function

venndir Spatial Functions

Functions for spatial objects and polygon manipulation

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

venndir Label Functions

Helpful label functions

assemble_venndir_label()
Assemble grid grobs into venndir labels

venndir Utility Functions

Internal venndir utility functions

plot(<Venndir>,<ANY>) length(<Venndir>) setlist(<Venndir>) names(<Venndir>) show(<Venndir>) metadata(<Venndir>) `metadata<-`(<Venndir>) overlaplist(<Venndir>) overlapdf(<Venndir>) signed_counts(<Venndir>) im(<Venndir>)
Plot Venndir object
curate_venn_labels()
Curate Venn labels
expand_range()
Expand numeric range
make_color_contrast()
Make color contrast
make_venn_combn_df()
Make full Venn combination data.frame
make_venn_test()
Generate test sets for venndir
match_list()
Match list elements to another list
modify_venndir_overlap() highlight_venndir_overlap()
Modify Venndir by overlap
nudge_venndir_label()
Nudge venndir labels
print_color_df()
Print colorized text table
shrink_df()
Shrink data.frame by group
three_point_angle()
Calculate angle between three consecutive points
venndir_label_style()
venndir label style
venndir_legender()
Add optional legend to venndir figures (developmental)
venndir_to_df()
Convert venndir output to data.frame

venndir deprecated functions

Deprecated functions losing support

venndir plotly functions (experimental)

Functions for plotly compatibility (experimental)

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