websitetemplate.org
 
Home > User Manual > Running Scripts > EDGES.R
 
 

EDGES.R

Description

This R script takes the output from the blast.pl script, a hash file containing query names and their respective chromosome numbers (queryIndex) and a hash file containing hit names and their respective chromosome numbers (hitIndex).  The script outputs one PDF which contains two columns of nodes, one for the query sequences, and the other for the target sequences.  Edges are drawn from each query node to the nodes representing the hits that were generated by blast.pl.

Arguments

  • out.txt (Table with BLAST hit information)
  • queryIndex (Hash of subject sequences)
  • hitIndex (Hash of target sequences)
*These files must all be in the same directory as the R script.

Notes

Usage:
The R scripts are all made so that they can be sourced into R.  From an R prompt type:

> source("edges.R")

Output:
  • edges.pdf


 
 

Powered By CMSimple