View source: R/plotPairFeatures.R
plotPairFeatures | R Documentation |
Plot two isoforms by pair lines
plotPairFeatures(x0, x1, group.label = NULL, plot.title = NULL,
group.color = c("red", "blue", "green", "pink"))
x0 |
A vector of data points of the first isoforms |
x1 |
A vector of data points of the second isoforms |
group.label |
A vector of group label of cells |
plot.title |
Title of the plot |
group.color |
A vector of colors for the cell groups |
None
data(isoformDataSample)
#preprocessing
isoformDataSample=ifelse(isoformDataSample <= 3,0,isoformDataSample)
isoformDataSample=isoformDataSample[which(rowSums(isoformDataSample)>0),]
#tranform read count dataset to log scale
isoformDataSample=ifelse(isoformDataSample==0,0,log2(isoformDataSample))
#now data is ready
x0=isoformDataSample[1,]
x1=isoformDataSample[2,]
plotPairFeatures(x0,x0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.