is.prob.data: Check if Object is a Probability Dataset in MAPpoly

View source: R/utils.R

is.prob.dataR Documentation

Check if Object is a Probability Dataset in MAPpoly

Description

Determines whether the specified object is a probability dataset by checking for the existence of the 'geno' component within a '"mappoly.data"' object.

Usage

is.prob.data(x)

Arguments

x

An object of class '"mappoly.data"'

Value

A logical value: ‘TRUE' if the ’geno' component exists within 'x', indicating it is a valid probability dataset for genetic analysis; 'FALSE' otherwise.


mmollina/MAPpoly documentation built on March 9, 2024, 2:52 a.m.