SameScale.scatter: Interactive scatterplot comparing FC between different...

Description Usage Arguments Details Value Author(s)

Description

This function allows to plot values of FC using a cut-off in order to see which genes are positive correlated, negative correlated or inverse correlated.

Usage

1
SameScale.scatter(num_mat1, num_mat2, col1.cutoff, col2.cutoff, FC.Col1, FC.Col2, cutoff, mainName, filePath = NULL, PNG = TRUE)

Arguments

num_mat1

First data matrix to compare with rownames = GeneID and values of FC and p.Val

num_mat2

Second data matrix to compare with rownames = GeneID and values of FC and p.Val

col1.cutoff

Column name in the first matrix used to apply the cut-off

col2.cutoff

Column name in the second matrix used to apply the cut-off

FC.Col1

Column name in the first matrix containing the values of FC

FC.Col2

Column name in the second matrix containing the values of FC

cutoff

Cut-off used to plot the genes

mainName

Name of the output

filePath

File path for the results. Used only if PNG=TRUE

PNG

If PNG=TRUE a .png file is created

Details

This function is used to compare two results with different FC and p-value scores. It uses a cut-off parameter and plots the intersection of the genes in both matrices using the FC values (X and Y axis). In the interactive version the name of each data point can also be accessed. The package plotly is required in order to make the interctive graphs.

Value

A interactive version of the plot is shown in Rstudio. When PNG=TRUE the static plot is created in the filePath.

Author(s)

Magdalena Arnal Segura <marnal@imim.es>


machalen/InteractiveGraphs documentation built on May 23, 2019, 7:18 a.m.