Deleted:Obs_name
0
0
Entering edit mode
2.3 years ago
Skamboj • 0

Can someone please help explain what the Obs_name represents?

obs_name

I exported the anndata matrix (h5ad) and attempted to transform it to the Seurat object using something similar to the following:

exprs <- t(adata$X)

colnames(exprs) <- adata$obs_names$to_list()

rownames(exprs) <- adata$var_names$to_list()

# Create the Seurat object
seurat <- CreateSeuratObject(exprs)

# Set the expression assay
seurat <- SetAssayData(seurat, "data", exprs)

# Add observation metadata
seurat <- AddMetaData(seurat, adata$obs)

# Add fetaure metadata
seurat[["RNA"]][["n_cells"]] <- padata$var["n_cells"]

I then ran the following in R

VlnPlot(seurat, features = c("nFeature_RNA", "nCount_RNA", "percent.mt"), ncol = 3)

vlnplot

Now my x-axis seems to be using obs_name and I am not 100% sure what it represents

Scanpy • 425 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1988 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6