Link RETSI peaks with GETSI values from coaccessibility
Source:R/link_spicey.R
link_spicey_coaccessible.Rd
This function combines GETSI (Gene Expression Tissue Specificity Index) data with RETSI (Regulatory Element Tissue Specificity Index) results, matching on gene symbols and cell types. It renames entropy columns, performs joins to merge relevant annotations, and resolves coordinate conflicts.
Arguments
- getsi
A data.frame or tibble containing GETSI results with at least the columns:
gene_id
: gene gene_idcell_type
GETSI
norm_entropy
seqnames
,start
,end
- re
A data.frame or tibble containing RETSI results with at least the columns:
gene_coacc
: gene symbols of the coaccessible gene to that regioncell_type
norm_entropy
seqnames
,start
,end
,annotation
,distanceToTSS
,region
,RETSI