high % of unspliced #845
-
When I run scVelo, I get high levels of unspliced RNAs. This is how extracted details from my Seurat object: eurat_obj$barcode <- colnames(seurat_obj) library(Matrix) And how I created my adata object: X = io.mmread("/path/counts.mtx") create anndata objectadata = anndata.AnnData( load cell metadata:cell_meta = pd.read_csv("metadata.csv") load gene names:with open("gene_names.csv", 'r') as f: set anndata observations and index obs by barcodes, var by gene namesadata.obs = cell_meta load dimensional reduction:pca = pd.read_csv("pca.csv") set pca and umapadata.obsm['X_pca'] = pca.to_numpy() #read in loom data scv.settings.set_figure_params('scvelo', facecolor='white', dpi=100, frameon=False) ldata1 = scv.read('/path/CON_A.loom', cache=True) #repeated for all 12 samples barcodes = [bc.split(':')[1] for bc in ldata1.obs.index.tolist()] ldata = ldata1.concatenate([ldata2, ldata3, ldata4, ldata5, ldata6, ldata7, ldata8, ldata9, ldata10, ldata11, ldata12]) scv.pl.proportions(adata, groupby='res_0.15_cmcleaned', save='proportions.pdf') #When I run: I get: Normalized count data: X, spliced, unspliced. I have taken the unnormalized counts from the seurat obj, so I am a bit confused? I asusme this is the issue, but I am not sure where the normalization is happening? Any help would be great thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@chrismahony, |
Beta Was this translation helpful? Give feedback.
@chrismahony,
scv.pl.proportions
is meant to run on the raw counts, i.e., not yet preprocessed (e.g. normalized, etc.).