get_block_allele: Get allele assignments for linkage blocks

View source: R/get_block_allele.R

get_block_alleleR Documentation

Get allele assignments for linkage blocks

Description

This is an internal function used by plot_full_network to retrieve the allele names contained in linkage blocks for plotting using the appropriate colors.

Usage

get_block_allele(data_obj, block_name, collapsed_net)

Arguments

data_obj

The cape object

block_name

The name of the linkage block as defined by the name of the list called linkage_blocks_full or linkage_blocks_collapsed

collapsed_net

A logical value indicating whether the block names to be used are from linkage_blocks_collapsed (TRUE) or linkage_blocks_full (FALSE)

Value

A vector of the alleles contained in the linkage block


cape documentation built on May 29, 2024, 5:11 a.m.