pertdb.PerturbationTarget
¶
- class pertdb.PerturbationTarget(*args, **kwargs)¶
Bases:
BioRecord,TracksRun,TracksUpdatesModels perturbation targets such as
Gene,Pathway, andProtein.Example:
import bionty as bt import pertdb gene_1 = bt.Gene.from_source(ensembl_gene_id="ENSG00000000003").save() gene_2 = bt.Gene.from_source(ensembl_gene_id="ENSG00000000005").save() targets = pertdb.PerturbationTarget(name="TSPAN6_TNMD").save() targets.genes.set([gene_1, gene_2])
- name: str¶
Name of the perturbation target.
- pathways: Pathway¶
Pathways of the perturbation target, link to
bionty.Pathwayrecords.
- proteins: Protein¶
Proteins of the perturbation target, link to
bionty.Proteinrecords.