Description Usage Arguments Value Examples
Produces a multidimensional scaling (MDS) plot for all of the samples in your fpkm table and colours them based on the classification in table classed.
1 | visualise(FPKM,classed)
|
classed |
A data frame where each row represents the probability for given a sample to fit each of the four classes as well as its overall classification based on the chosen thresholds. |
FPKM |
A matrix of fragments/reads per kilobase per million. Rows are genes and columns are samples. |
Produces a multidimensional scaling (MDS) plot for all of the samples in your fpkm table and colours them based on the classification in table classed.
1 2 3 4 5 6 | cf <- system.file("data","test_data.txt",package="AllSorts") #Get path to raw text file (a tsv)
counts <- read.table(file=cf,sep=' ',stringsAsFactors = FALSE,header=TRUE)
FPKM <- streamline(counts[,c(1:6)],counts$Gene_Length)
thresh <- c(0.2,0.2,0.8,0.9)
classed <- classify(FPKM,thresh)
visualise(FPKM,classed)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.