inst/doc/prio.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
    collapse = TRUE,
    comment = "#>"
)

## ----setup, eval=FALSE--------------------------------------------------------
#  if(!requireNamespace("BiocManager", quietly = TRUE))
#      install.packages("BiocManager")
#  BiocManager::install("MouseFM")

## -----------------------------------------------------------------------------
library(MouseFM)

## -----------------------------------------------------------------------------
avail_strains()

## -----------------------------------------------------------------------------
df = prio("chr1", start=5000000, end=6000000, strain1="C57BL_6J", strain2="AKR_J")

## -----------------------------------------------------------------------------
comment(df)

## -----------------------------------------------------------------------------
get_top(df$reduction, n_top=3)

## -----------------------------------------------------------------------------
plots = vis_reduction_factors(df$genotypes, df$reduction, 2)
plots[[1]]
plots[[2]]

## -----------------------------------------------------------------------------
sessionInfo()

Try the MouseFM package in your browser

Any scripts or data that you put into this service are public.

MouseFM documentation built on Nov. 8, 2020, 7:26 p.m.