cell2net.preprocessing.add_gene_tss_coord#

cell2net.preprocessing.add_gene_tss_coord(mdata, gene_gtf, feature_type='gene', mod_names='rna')#

Add the TSS coordinates of genes to mdata[mod_names].uns.

Parameters:
  • mdata (MuData) – Input MuData object containing gene expression

  • gene_gtf (str) – GTF file including gene annotation, which should have 9 columns.

  • feature_type (str (default: 'gene')) – Which feature type in the GTF file to use. Default: gene

Return type:

None