qtl2_tidiers: Tidy R/qtl2 objects

tidy.scan1R Documentation

Tidy R/qtl2 objects

Description

Convert the output of qtl2 functions to a tibble in long format. These are generally useful for downstream plotting analysis.

Usage

## S3 method for class 'scan1'
tidy(x, map = NULL)

## S3 method for class 'scan1coef'
tidy(x, map = NULL)

## S3 method for class 'calc_genoprob'
tidy(x, map = NULL)

## S3 method for class 'scan1perm'
tidy(x, alpha = 0.05)

Arguments

x

The object to coerce.

map

An optional list of vectors of marker positions, as produced by qtl2::insert_pseudomarkers() or the ⁠$gmap⁠ element of a cross2 object.

alpha

Vector of significance levels (for scan1perm objects).

Details

At the moment the output from the following R/qtl2 functions are recognised:

  • scan1()

  • scan1coef()


tavareshugo/qtl2helper documentation built on April 24, 2023, 11:19 a.m.