R/ctwas_anno_finemap_res.R
anno_susie_alpha_res.Rd
Map molecular traits to genes in susie alpha result.
anno_susie_alpha_res(
susie_alpha_res,
mapping_table,
map_by = "molecular_id",
drop_unmapped = TRUE
)
a data frame of susie alpha result.
a data frame of mapping between molecular traits and genes, with required columns: "molecular_id", "gene_name".
column name to be mapped by (default: "molecular_id").
If TRUE, remove unmapped genes.
a data frame of annotated finemapping result.