formatInputSample: Format input file to dataframe class with entrez ID, symbol...

Description Usage Arguments Value Examples

Description

Format input file to dataframe class with entrez ID, symbol and ensembl ID

Usage

1
formatInputSample(filename, IDColumn, logFCColumn, IDType, inputSpecies)

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

inputSpecies

human, mouse, rat

Value

input sample in dataframe class with entrez ID, symbol and ensembl ID

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
path<-system.file(package = "Key2Enrich")
filePath<-paste(path,"/extdata",sep="")
file<-paste(filePath,sep="","/sampleFile.csv")

inputSample<-formatInputSample(file,
                               IDColumn=1,
                               logFCColumn=2,
                               "mgi_symbol",
                               "mouse")
                               

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