R/feature_test_class.R
as.data.frame.feature_test.Rd
Coerce results of test_features
function to a
data.frame
.
# S3 method for feature_test as.data.frame( x, row.names = NULL, optional = FALSE, stringsAsFactors = FALSE, ... )
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. |
a data frame with four columns: names of n-gram, p-values, occurrences in positive and negative sequences.