_make_unique()ad_2.obs_names_make_unique()X=pd.read_csv(r'./3.rnacounts.tsv',sep='\t').transpose()X=sparse.csr_matrix(X)ad_3=ad.AnnData(X=X.values,obs=pd.DataFrame(index=X.index),var=pd.DataFrame(index=X.columns))ad_3.var_names_make_unique()ad_3.obs_names_make_unique()...
You can always set var_names to be gene symbols. I prefer keeping var_names as unique, canonical identifiers, but sometimes do this. csijcs commented Mar 18, 2019 I tried to set var_names from gene_symbols, and I get a warning message: Variable names are not unique. To make them un...