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

Description Usage Arguments Value

View source: R/feature_test_class.R

Description

Coerce results of test_features function to a data.frame.

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'feature_test'
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.


biogram documentation built on March 31, 2020, 5:14 p.m.