geneSymbol: Create a table relating probesets with genes

Description Usage Arguments Value Author(s) Examples

View source: R/geneSymbol.R

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

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# 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)

juancholkovich/coexnet documentation built on May 20, 2019, 3:18 a.m.