Skip to contents

Organism

Usage

organism(object)

organism(object) <- value

# S4 method for Annotated
organism(object)

# S4 method for DFrame
organism(object)

# S4 method for GRanges
organism(object)

# S4 method for Matrix
organism(object)

# S4 method for data.frame
organism(object)

# S4 method for matrix
organism(object)

# S4 method for Annotated
organism(object) <- value

Arguments

object

Object.

value

Value to assign.

Value

character(1). Latin organism name (e.g. Homo sapiens).

Note

Updated 2021-08-03.

See also

Examples

## DFrame ====
df <- S4Vectors::DataFrame(
    "txId" = c(
        "ENST00000635602.1",
        "ENST00000635506.1"
    ),
    "geneId" = c(
        "ENSG00000283061.1",
        "ENSG00000283061.1"
    ),
    row.names = c(
        "ENST00000635602.1",
        "ENST00000635506.1"
    )
)
x <- organism(df)
print(x)
#> [1] "Homo sapiens"