sfaira.versions.genomes.GenomeContainer.set¶
- GenomeContainer.set(biotype: Union[None, str, List[str]] = None, symbols: Union[None, str, List[str]] = None, ensg: Union[None, str, List[str]] = None)¶
Subset by gene biotype or to gene list defined by identifiers (symbol or ensemble ID).
Will subset by multiple factors if more than one parameter is not None.
- Parameters
biotype – Gene biotype(s) of gene(s) to subset genome to. Elements have to appear in genome. Separate in string via “,” if choosing multiple or supply as list of string.
symbols – Gene symbol(s) of gene(s) to subset genome to. Elements have to appear in genome. Separate in string via “,” if choosing multiple or supply as list of string.
ensg – Ensemble gene ID(s) of gene(s) to subset genome to. Elements have to appear in genome. Separate in string via “,” if choosing multiple or supply as list of string.