organism.sce {scPipe} | R Documentation

## Get or set `organism` from a SingleCellExperiment object

### Description

Get or set `organism` from a SingleCellExperiment object

### Usage

    organism.sce(object)

    ## S4 method for signature 'SingleCellExperiment'
    organism(object)

    ## S4 replacement method for signature 'SingleCellExperiment'
    organism(object) <- value

### Arguments

`object` | A `SingleCellExperiment` object.
`value` | Value to be assigned to corresponding object.

### Value

organism string

### Author(s)

Luyi Tian

### Examples

    data("sc_sample_data")
    data("sc_sample_qc")
    sce = SingleCellExperiment(assays = list(counts = as.matrix(sc_sample_data)))
    organism(sce) = "mmusculus_gene_ensembl"
    gene_id_type(sce) = "ensembl_gene_id"
    QC_metrics(sce) = sc_sample_qc
    demultiplex_info(sce) = cell_barcode_matching
    UMI_dup_info(sce) = UMI_duplication

    organism(sce)

[Package scPipe version 1.9.4 Index]