as_SummarizedExperiment {tidybulk} | R Documentation

## as_SummarizedExperiment

### Description

as_SummarizedExperiment() creates a 'SummarizedExperiment' object from a 'tbl' or 'tidybulk' tbl formatted as | <SAMPLE> | <TRANSCRIPT> | <COUNT> | <...> |

### Usage

    as_SummarizedExperiment(
      .data,
      .sample = NULL,
      .transcript = NULL,
      .abundance = NULL
    )

    ## S4 method for signature 'spec_tbl_df'
    as_SummarizedExperiment(
      .data,
      .sample = NULL,
      .transcript = NULL,
      .abundance = NULL
    )

    ## S4 method for signature 'tbl_df'
    as_SummarizedExperiment(
      .data,
      .sample = NULL,
      .transcript = NULL,
      .abundance = NULL
    )

    ## S4 method for signature 'tidybulk'
    as_SummarizedExperiment(
      .data,
      .sample = NULL,
      .transcript = NULL,
      .abundance = NULL
    )

### Arguments

`.data` | A tibble
`.sample` | The name of the sample column
`.transcript` | The name of the transcript/gene column
`.abundance` | The name of the transcript/gene abundance column

### Value

A 'SummarizedExperiment' object

A 'SummarizedExperiment' object

A 'SummarizedExperiment' object

A 'SummarizedExperiment' object

[Package tidybulk version 1.4.0 Index]