plotAlign: Network graph showing identities of pairwise alignments in a...

Description Usage Arguments Value Examples

View source: R/AStrap.R

Description

This function plot pairwise alignments of isoforms of the same cluster network graph. It shows the relationship between isoforms of the same cluster, where the identity of a pairwise alignment is denoted as a line with different thickness and color. The higher the identity, the thicker the line. Red line denotes the identity of 1.

Usage

1
plotAlign(alignment, cluster.id = c("2"))

Arguments

alignment

A data frame contation the information of sequence alignments.

cluster.id

An interger vector indicating the ID of cluster.

Value

This function returns a network graph object invisibly.

Examples

1
2
3
4
##Loading example data
load(system.file("data","example_cluster.Rdata",package = "AStrap"))
g <- plotAlign(cluster.align$alignment,cluster.id=c("7","5"))
plot(g)

BMILAB/AStrap documentation built on Nov. 20, 2020, 4:03 p.m.