get_block_allele {cape} | R 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
[Package cape version 3.1.2 Index]