result {VennDetail}R Documentation

Extract the result from venn object

Description

Result will return output in a table format including the contents of the subsets included in the venndetail object

Usage

result(object, wide = FALSE)

## S4 method for signature 'Venn'
result(object, wide = FALSE)

Arguments

object

Venn object

wide

Boolean indicating whether to return wide format(default:FALSE)

Value

return dataframe and print header of dataframe

Author(s)

Kai Guo

Examples

A <- sample(1:100, 40, replace = FALSE)
B <- sample(1:100, 60, replace = FALSE)
C <- sample(1:100, 40, replace = FALSE)
res <- venndetail(list(A = A, B = B, C = C))
result <- result(res)

[Package VennDetail version 1.2.0 Index]