Arguments
data
A required gene annotation BED file like that obtained from the UCSC Table
Browser. At a minimum BED files must have the first three columns as
(chromosome, start, end). Additional required columns should correspond to the
strand and gene name.The gene name needs to match the gene format desired
for the interaction network. Duplicated gene names and associated gene
annotations are removed. other_data
A list of BED files corresponding to each additional interval file to be
associated with genes. The function will use the other_tss_distance variable
and the gene transcription start site (TSS) to find for each gene all intervals
within [tss-other_tss_distance, tss+other_tss_distance].
other_tss_distance
A vector specifying for each element of otherdata a distance from the gene
TSS to consider that interval as related to a gene. If the length of
other_tss_distance does not match the length of the otherdata list, then the
first value is used for all datasets in the otherdata list. DEFAULTS to 10,000 base pairs.
promoter_upstream_distance
A numeric specifying how far upstream from the gene TSS is considered part of
the gene promoter. DEFAULTS to 1,000 base pairs.
promoter_downstream_distance
A numeric specifying how far downstream from the gene TSS is considered part of
the gene promoter. Gene bodies subtract the promoter_downstream region.
DEFAULTS to 1,000 base pairs.
strand_col
A numeric specifying the column of the gene BED file (data) corresponding to
the gene strand. If this is not provided, the function will attempt to
determine the strand.
gene_name_col
A numeric specifying the column of the gene BED file (data) corresponding to
the gene name.