Skip to contents

Set Feature Types

Usage

set_feature_type(object, feature_type)

Arguments

object

a SingleCellExperiment object

feature_type

feature type

Value

a SingleCellExperiment object with assigned feature type

Examples


data(small_example_dataset)
set_feature_type(small_example_dataset, "transcript")
#> class: SingleCellExperiment 
#> dim: 1000 200 
#> metadata(1): markers
#> assays(2): counts logcounts
#> rownames(1000): Gene_0001 Gene_0002 ... Gene_0999 Gene_1000
#> rowData names(0):
#> colnames(200): Cell_001 Cell_002 ... Cell_199 Cell_200
#> colData names(9): Mutation_Status Cell_Cycle ... gene_snn_res.0.8
#>   gene_snn_res.1
#> reducedDimNames(3): PCA TSNE UMAP
#> mainExpName: gene
#> altExpNames(1): Spikes