venndir_to_df | R Documentation |
Convert venndir output to data.frame or kable format for visual review.
venndir_to_df(
venndir_out,
df_format = c("hits", "items", "wide"),
return_type = c("data.frame", "kable"),
trim_blanks = TRUE,
wrap_width = 80,
colorize_headers = TRUE,
set_colors = NULL,
item_type = "gene",
add_counts = TRUE,
verbose = FALSE,
...
)
venndir_out |
|
return_type |
|
trim_blanks |
|
wrap_width |
|
colorize_headers |
|
... |
additional arguments are ignored. |
Accept input from signed_overlaps()
for purely table summary.
object of class "data.frame"
or "knitr_kable"
based upon
argument return_type
.
Other venndir utility:
curate_venn_labels()
,
expand_range()
,
make_color_contrast()
,
make_venn_combn_df()
,
make_venn_test()
,
match_list()
,
nudge_venndir_label()
,
print_color_df()
,
shrink_df()
,
three_point_angle()
,
venndir_legender()
setlist <- venndir::make_venn_test(100, 3, do_signed=TRUE);
venndir_out <- venndir::venndir(setlist, overlap_type="each")
df <- venndir_to_df(venndir_out)
head(df, 10)
kdf <- venndir_to_df(venndir_out, return_type="kable")
kdf
df2 <- venndir_to_df(venndir_out, df_format="items")
head(df2, 10)
kdf2 <- venndir_to_df(venndir_out, df_format="items", return_type="kable")
kdf2
df3 <- venndir_to_df(venndir_out, df_format="wide", return_type="data.frame")
df3
kdf3 <- venndir_to_df(venndir_out, df_format="wide", return_type="kable")
kdf3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.