plotCluster: Network graph showing the distribution of isoforms in a...

Description Usage Arguments Value Examples

View source: R/AStrap.R

Description

This function plots a clustering network form a data frames. It shows the distribution of isoforms in a cluster.

Usage

1
plotCluster(cluster, cluster.id = c("2"))

Arguments

cluster

A data frame contation the information of isoform clusters.

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<- plotCluster(cluster.align$cluster,cluster.id=c("7","5"))
plot(g)

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