Skip to contents

Return the FineMappingRow for one (study, context, trait, method) row of a FineMappingResult collection.

Usage

getFineMappingResult(
  x,
  study = NULL,
  context = NULL,
  trait = NULL,
  method = NULL
)

# S4 method for class 'GwasFineMappingResult'
getFineMappingResult(
  x,
  study = NULL,
  context = NULL,
  trait = NULL,
  method = NULL
)

# S4 method for class 'QtlFineMappingResult'
getFineMappingResult(
  x,
  study = NULL,
  context = NULL,
  trait = NULL,
  method = NULL
)

Arguments

x

A FineMappingResult object.

study, context, trait, method

Single character identifiers. All required when the collection has more than one row; optional when the collection has a single row.

Value

A FineMappingRow object.

Examples

data(qtlFineMappingExample)
getFineMappingResult(qtlFineMappingExample, study = "study_1",
  context = "context_1", trait = "gene_1", method = "susie")
#> QtlFineMappingResult: 1 entries
#>   1 studies, 1 contexts, 1 traits, 1 methods
#>   LD sketch: NULL (individual-level fit)