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
)

Arguments

susie_alpha_res

a data frame of susie alpha result.

mapping_table

a data frame of mapping between molecular traits and genes, with required columns: "molecular_id", "gene_name".

map_by

column name to be mapped by (default: "molecular_id").

drop_unmapped

If TRUE, remove unmapped genes.

Value

a data frame of annotated finemapping result.