topCommonGenes: Gives the number or the refenrences of shared genes by both...

View source: R/metaAnalyses.R

topCommonGenesR Documentation

Gives the number or the refenrences of shared genes by both studies out of a given number of highest genes to query.

Description

Gives the number or the refenrences of shared genes by both studies out of a given number of highest genes to query.

Usage

topCommonGenes(a, b, top = 0, filta, filtb, cutoff, LG = TRUE)

Arguments

a

data.frame with expression data for the first study

b

data.frame with expression data for the second study

top

positive integer. Number of genes to consider for the analysis; if 0 (default), all genes are considered.

filta

character vector or positive integer vector. rownames or indices of the rows to consider for the first study.

filtb

character vector or positive integer vector. rownames or indices of the rows to consider for the second study.

cutoff

numeric. cutoff under which the expression is considered as noise

LG

Boolean, topCommonGenes return the length if TRUE, else the list of genes is returned

Value

depends on LG. Number or the list of genes that are shared for the highest expressed


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.