vis_reduction_factors: Visualize

View source: R/prio.R

vis_reduction_factorsR Documentation

Visualize

Description

Visualize reduction factors

Usage

vis_reduction_factors(geno, red, n_top)

Arguments

geno

Genotype data frame or GenomicRanges::GRanges object.

red

Reduction factor data frame.

n_top

Number if combinations to be returned.

Value

Data frame

Examples

l = prio(c("chr1", "chr2"),
  start = c(5000000, 5000000),
  end = c(6000000, 6000000), strain1 = c("C3H_HeH"), strain2 = "AKR_J"
)

plots = vis_reduction_factors(l$genotypes, l$reduction, 2)

plots[[1]]
plots[[2]]

matmu/MouseFM documentation built on Sept. 3, 2022, 5:46 a.m.