isBulk {dittoSeq} | R Documentation

## Retrieve whether a given object would be treated as bulk versus single-cell by dittoSeq

### Description

Retrieve whether a given object would be treated as bulk versus single-cell by dittoSeq

### Usage

    isBulk(object)

### Arguments

`object` | A target Seurat, SingleCellExperiment, or SummarizedExperiment object

### Value

Logical: whether the provided object would be treated as bulk data by dittoSeq.

- TRUE for SummarizedExperiments that are not SCEs, and for SCEs with `$bulk = TRUE` in their internal metadata.

- FALSE for any other object type and for SCEs without such internal metadata

### See Also

`setBulk` to (add to and) set the internal metadata of an SCE to say whether the object repressents bulk data.

### Examples

    example(importDittoBulk, echo = FALSE)
    myRNA

    isBulk(myRNA)

    scRNA <- setBulk(myRNA, FALSE)
    isBulk(scRNA)

[Package dittoSeq version 1.6.0 Index]