Learn R Programming

biogram (version 1.3)

as.data.frame.feature_test: Coerce feature_test object to a data frame

Description

Coerce results of test_features function to a data.frame.

Usage

"as.data.frame"(x, row.names = NULL, optional = FALSE, stringsAsFactors = FALSE, ...)

Arguments

x
object of class feature_test.
row.names
ignored.
optional
ignored.
stringsAsFactors
logical: should the character vector be converted to a factor?.
...
additional arguments to be passed to or from methods.

Value

a data frame with four columns: names of n-gram, p-values, occurrences in positive and negative sequences.