sampCorRnaMirna: sampCorRnaMirna sampling for correlation for miRNA and mRNA

View source: R/sampCorRnaMirna.R

sampCorRnaMirnaR Documentation

sampCorRnaMirna sampling for correlation for miRNA and mRNA

Description

This function uses the output of one2OneRnaMiRNA and returns a sampled from original file correlation dataframe depending on user sampling selection.

Usage

sampCorRnaMirna(
  mRNA,
  miRNA,
  method = "pearson",
  Shrounds = 100,
  Srounds = 1000
)

Arguments

mRNA

mRNA file generated from fold changes (FC) obj of the one2OneRnaMiRNA.

miRNA

miRNA file generated from fold changes (FC) obj of the one2OneRnaMiRNA.

method

Default is "pearson" else use "kendall" or "spearman".

Shrounds

number of shuffling over the FC data, default is 100.

Srounds

number of sampling from the shuffled data, default is 1000.

Value

Correlation data frame

Examples

x <- sampCorRnaMirna(mRNA_fc, miRNA_fc, method = "pearson", Shrounds = 10, Srounds = 10)

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