get_block_allele: Get allele assignments for linkage blocks

Description Usage Arguments Value

View source: R/get_block_allele.R

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

1
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 Feb. 10, 2021, 5:06 p.m.