readInputFile: Read samples files with different annotation ID

Description Usage Arguments Value Examples

Description

Read samples files with different annotation ID

Usage

1
readInputFile(fileName, IDColumn, logFCColumn, IDType)

Arguments

fileName

input file in csv format

IDColumn

must be numberic,the column number of sample ID

logFCColumn

must be numberic, the column number of sample log fold change

IDType

Human: entrezgene, hgnc_symbol, ensembl_gene_id, Mouse: entrezgene, mgi_symbol, ensembl_gene_id, Rat: entrezgene, rgd_symbol, ensembl_gene_id

Value

Sample file in data.frame format

Examples

1
2
3
4
5
6
path<-system.file(package = "Key2Enrich")
filePath<-paste(path,"/extdata",sep="")
file<-paste(filePath,sep="","/sampleFile.csv")
entrezgene_sample<-readInputFile(file,IDColumn=1,
                                 logFCColumn=2,IDType="mgi_symbol")
head(entrezgene_sample)

ppdragondw/Key2Enrich documentation built on May 29, 2019, 7:39 a.m.