as.data.frame.feature_test {biogram} | R Documentation |
Coerce feature_test object to a data frame
Description
Coerce results of test_features
function to a
data.frame
.
Usage
## S3 method for class 'feature_test'
as.data.frame(
x,
row.names = NULL,
optional = FALSE,
stringsAsFactors = FALSE,
...
)
Arguments
x |
object of class |
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.
[Package biogram version 1.6.3 Index]