regbench_data.enhancer.ScreeningResult#

class regbench_data.enhancer.ScreeningResult(sample_term_id, sample_name, assembly, result)#

Represents a screening result from a dataset.

sample_term_id#

The term ID of the sample.

Type:

str

sample_name#

The name of the sample.

Type:

str

assembly#

The genome assembly used for the sample.

Type:

str

result#

The results of the screening, loaded as a Polars DataFrame. It contains the following columns:

  • chrom: str

  • chrom_start: int

  • chrom_end: int

  • gene_symbol: str

  • gene_chrom: str

  • gene_TSS: int

  • label: str (categorical, e.g., ‘0’ for non-significant and ‘1’ for significant)

  • effect_size: float | None

  • adjusted_p_value: float | None

Type:

pl.DataFrame

Attributes

Methods

distance_to_tss()

Calculates the distance from the enhancer center to the gene TSS.

label_counts()

load_data(csv[, p_value])

Loads the screening results from an OSF object.