one2OneRnaMiRNA: one2OneRnaMiRNA correlation for miRNA and mRNA using...

View source: R/one2OneRnaMiRNA.R

one2OneRnaMiRNAR Documentation

one2OneRnaMiRNA correlation for miRNA and mRNA using differntial expression fold change and if/when available p-value

Description

This function inputs accept a list of dataframes and returns an obj with two dataframes called FC and p-value. FC with rownames == genes and columns are FC1, 2, 3, ... (with fold-changes) - P-value with rownames == genes and columns are P1, 2, 3, ... (with p-values) both data.frames have the same order dimensions.

Usage

one2OneRnaMiRNA(
  files,
  gene_colname = "Gene",
  fc_colname = "FC",
  pval_colname = "pvalue",
  pthreshold = NULL
)

Arguments

files

a list of dataframes either miRNAs or mRNAs from various time points.

gene_colname

Default is a vector character of length 1 "Gene" user can alter if they choose This column contains the gene names.

fc_colname

Default "FC" is coloumn name for fold changes user can alter if they choose.

pval_colname

Default is "pvalue" column name for p-values (in input).

pthreshold

P-value threshold.

Value

Correlation dataframe

Examples


x <- one2OneRnaMiRNA(files)


Mercedeh66/mirTarRnaSeq documentation built on April 14, 2023, 6:49 a.m.