pertdb.PerturbationTarget .md

class pertdb.PerturbationTarget(*args, **kwargs)

Bases: BioRecord, TracksRun, TracksUpdates

Models perturbation targets such as Gene, Pathway, and Protein.

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.

genes: Gene

Genes of the perturbation target, link to Gene records.

pathways: Pathway

Pathways of the perturbation target, link to bionty.Pathway records.

proteins: Protein

Proteins of the perturbation target, link to bionty.Protein records.

artifacts: Artifact

Artifacts linked to the perturbation target.