vis_reduction_factors: Visualize

Description Usage Arguments Value Examples

View source: R/prio.R

Description

Visualize reduction factors

Usage

1
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

1
2
3
4
5
6
7
8
9
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/mmus documentation built on Nov. 14, 2021, 1:18 a.m.