docs: def _add_vertex_attributes_by_genes(self, genes: List[Gene]) -> None:
          """Assign values to attributes on vertices.
  
          :param genes: A list of Gene objects from which values will be extracted.
          """
          for gene in genes:
              try:
                  vertex = self.graph.vs.find(name=str(gene.entrez_id)).index
                  self.graph.vs[vertex]['l2fc'] = gene.log2_fold_change
                  self.graph.vs[vertex]['symbol'] = gene.symbol
                  self.graph.vs[vertex]['padj'] = gene.padj
              except ValueError:
                  pass