netmap.masking.external.preprocess_bed_file

netmap.masking.external.preprocess_bed_file(bed_file)

Read the bed file as a tab separated csv file and obtain all TFs that are related to a gene from the object.

Parameters:

bed_file (str) – path containing the bed file

Returns:

Dataframe relating the TFs to the genes

Return type:

pd.DataFrame