showPheno: Display phenotype part of data

View source: R/showPheno.R

showPhenoR Documentation

Display phenotype part of data

Description

This is a help function to extract phenotypic (and covariate) data from an object read in with genDataRead (or loaded with genDataLoad).

Usage

showPheno(data.in, n = 5, from, to, sex)

Arguments

data.in

The data read in by genDataRead).

n

Number of rows to display or "all" (default: 5).

from

From which row to display (optional, default: from the first).

to

To which row to display (optional).

sex

If the sex column is part of the phenotypic information, the user can choose based on one of the categories used in this column (optional); NB: this does not combine with the 'to' and 'from' arguments.

Value

A table with phenotypic and covariate data (if any) extracted from 'data.in'.


Haplin documentation built on Sept. 11, 2024, 7:13 p.m.