Open yanglq-bioinfo opened 1 year ago
Hi. The var
information is lost after the function ad.concat(Batch_list, label="slice_name", keys=section_ids)
. I suggest to replace the adata_concat var
with original adata var
:
adata.var_names_make_unique(join="++")
adata_concat.var = adata.var.loc[adata_concat.var_names.values]
Hi. The
var
information is lost after the functionad.concat(Batch_list, label="slice_name", keys=section_ids)
. I suggest to replace the adata_concatvar
with original adatavar
:adata.var_names_make_unique(join="++")
adata_concat.var = adata.var.loc[adata_concat.var_names.values]
Thank you for your reply. but I have some questions:
adata_concat.var = adata.var.loc[adata_concat.var_names.values]
?after running ad.concat? I found a solution on the internet I don't know if it's correct or not, Add a merge="same" in ad.concatHi.
adata_concat.var = adata.var.loc[adata_concat.var_names.values]
after running ad.concat.adata.raw = adata.copy()
Hi.
- Run
adata_concat.var = adata.var.loc[adata_concat.var_names.values]
after running ad.concat.- You can keep the original count matrix by
adata.raw = adata.copy()
Thanks!
Hi,
I successfully ran the software and got the end result, But when I looked at the data structure I found that it was not the same as the regular adata structure of the scanpy, adata.var is supposed to be a dataframe structure, and I can get all the gene ids and other information, but these I don't find in the STAligner results,So I can't calculate various metrics such as mitochondrial ratios either, and I'd like to know where exactly these results are stored and how I can access them