Skip to contents

Binarize and transpose the phylogenomic profile matrix

Usage

binarize_and_transpose(profile_matrix = NULL)

Arguments

profile_matrix

A matrix with phylogenomic profiles obtained with phylogenomic_profile.

Value

A binary and transposed version of the profiles matrix.

Examples

data(clusters)
profile_matrix <- phylogenomic_profile(clusters)
tmat <- binarize_and_transpose(profile_matrix)