Get cross-boundary genes.
get_boundary_genes(
region_info,
weights,
gene_ids = NULL,
mapping_table = NULL,
show_mapping = TRUE,
ncore = 1
)
a data frame of region definitions.
a list of preprocessed weights.
a vector of selected gene IDs (z_gene$id). If specified, limits to these genes. Default: use all genes in weights.
a data frame of mapping between molecular traits and genes, with required columns: "molecular_id", "gene_name".
If TRUE, include the mapping between molecular traits and genes in the result.
The number of cores used to parallelize over genes.
a data frame of cross-boundary genes.