keep_variable,tbl_df-method {tidybulk} | R Documentation

## keep_variable

### Description

keep_variable

### Usage

    ## S4 method for signature 'tbl_df'
    keep_variable(
      .data,
      .sample = NULL,
      .transcript = NULL,
      .abundance = NULL,
      top = 500,
      log_transform = TRUE
    )

### Arguments

`.data` | A 'tbl' formatted as | <SAMPLE> | <TRANSCRIPT> | <COUNT> | <...> |
`.sample` | The name of the sample column
`.transcript` | The name of the transcript/gene column
`.abundance` | The name of the transcript/gene abundance column
`top` | Integer. Number of top transcript to consider
`log_transform` | A boolean, whether the value should be log-transformed (e.g., TRUE for RNA sequencing data)

### Value

A 'tbl' with additional columns for the statistics from the hypothesis test (e.g., log fold change, p-value and false discovery rate).

[Package tidybulk version 0.99.23 Index]