Learn R Programming

macrosyntR (version 0.3.3)

compute_linkage_groups: Compute Linkage groups

Description

This is a function to compute the conserved linkage groups shared between two or more species. It computes the significant associations between chromosomes of all species versus all (pairwise) using the fischer test implemented in compute_macrosynteny(). It outputs a dataframe shaped as following : sp1.Chr,sp2.Chr,..., spN.chr,n,LGs where n is the number of shared orthologs in the group and LGs are the IDs for the linkage groups

Usage

compute_linkage_groups(orthologs_df)

Value

A dataframe object

Arguments

orthologs_df

dataframe. orthologs with genomic coordinates loaded with load_orthologs()

Examples

Run this code
# basic usage of compute_linkage_groups: 

orthologs_table <- system.file("extdata","my_orthologs.tab",package="macrosyntR")

my_orthologs <- read.table(orthologs_table,header=TRUE)
                               
my_macrosynteny <- compute_linkage_groups(my_orthologs)

Run the code above in your browser using DataLab