organism: Get or set 'organism' from a SingleCellExperiment object

Description Usage Arguments Value Author(s) Examples

Description

Get or set organism from a SingleCellExperiment object

Usage

1
2
3
4
5
6
7
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

scPipe documentation built on Nov. 8, 2020, 8:28 p.m.