geneMatchR {projectR} | R Documentation

## Generic geneMatchR function

### Description

Matches genes accross datasets

### Usage

    geneMatchR(
      data1,
      data2,
      data1Names = NULL,
      data2Names = NULL,
      merge = FALSE,
      ...
    )

### Arguments

`data1` | a data matrix, typically genes by samples
`data2` | an amplitude matrix, typically genes by factors
`data1Names` | rownames of data matrix, for eg genenames
`data2Names` | rownames of amplitude matrix to be matched to rownames of datamatrix
`merge` | logical indicating wether or not to merged data sets
`...` | Additional arguments to geneMatchR

### Value

A list of genes (intersection) in both datasets. (if merge = TRUE, Also returns merged data.)

### Examples

    geneMatchR(data1=p.ESepiGen4c1l$mRNA.Seq,data2=p.RNAseq6l3c3t,
    data1Names=map.ESepiGen4c1l[["GeneSymbols"]])

[Package projectR version 1.8.0 Index]