geneSymbol: Create a table relating probesets with genes

View source: R/geneSymbol.R

geneSymbolR Documentation

Create a table relating probesets with genes

Description

From the information in the .soft file, creates a data.frame with two columns. In the first one, the probeset names. In the second one, the name of the corresponding genes.

Usage

geneSymbol(GPL, directory = ".")

Arguments

GPL

The GPL ID.

directory

The path file where the .soft file is. By default is the current path file.

Value

A data.frame with two columns, in the first one, the probesets and in the second one, the corresponding gene to each probeset.

Author(s)

Juan David Henao <judhenaosa@unal.edu.co>

Examples


# Creating the table with probesets and genes/IDs

gene_table <- geneSymbol(GPL = "GPL2025",directory = system.file("extdata",package = "coexnet"))

# Cleaning the NA information

gene_na <- na.omit(gene_table)

# Cleaning gene/ID information empty

final_table <- gene_na[gene_na$ID != "",]

head(final_table)

jdhenaos/coexnet documentation built on April 22, 2022, 12:43 a.m.