as.data.frame {edgeR} | R Documentation

## Turn a TopTags Object into a Dataframe

### Description

Turn a `TopTags` object into a `data.frame`.

### Usage

    ## S3 method for class 'TopTags'
    as.data.frame(x, row.names = NULL, ...)

### Arguments

`x` | an object of class `TopTags`
`row.names` | `NULL` or a character vector giving the row names for the data frame. Missing values are not allowed.
`...` | other arguments are not currently used.

### Details

Convert edgeR objects into data.frames. This method returns the `table` component of a `TopTags` object. For `DGEExact` and `DGELRT` objects, the `genes` and `table` components are combined into a data.frame, similar to what is done by `topTags` but without sorting or p-value adjustment.

### Value

A data.frame.

### Author(s)

Gordon Smyth

### See Also

`as.data.frame` in the base package.

[Package edgeR version 3.28.1 Index]