Learn R Programming

mglR (version 0.1.0)

buildFromNames: Build empty list using gene names.

Description

buildFromNames returns an empty 'mgl' list given gene names.

Usage

buildFromNames(nm)

Arguments

nm
A character vector with gene names

Warning

If a gene is not found, a warning message will appear: 'Gene names missing: ...'. This must be corrected or no other elements can be filled in as the remaining elements all build off of the disambigous ENSG identifier. There are two strategies to fix this. The first is to check gene names for typos or use of less common colloquial names. The second is to use the missNames and fixNames functions in this pacakge to fill in the missing ENSG identifiers. Note: googling the colloquial gene name and 'gene cards' is an excellent way to find an ENSG id. Genecards does an exceptional job of cataloging alternative colloquial names.

Details

This is one of three functions that can be used to set up the list structure. It starts with gene names.

See Also

Other Build list: buildFromEnsgs, buildFromRegion

Examples

Run this code
## Not run: buildFromNames(nm = c('CETP', 'ABCA1', 'APOB')) -> myMgl

Run the code above in your browser using DataLab