UnifyRowNames: Unify row names in data frame with the same order of gene...

Description Usage Arguments Value Examples

Description

Unify row names in data frame with the same order of gene list.

Usage

1
UnifyRowNames(x,geneList)

Arguments

x

data frame with gene symbol in the row name

geneList

a gene list

Value

a data frame having the gene in row name ordered as in gene list.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
cgds <- CGDS("http://www.cbioportal.org/public-portal/")
## Not run: 
geneList <- whichGeneList("73")
ProfData <- getProfileData(cgds,
 geneList, "gbm_tcga_pub_mrna", "gbm_tcga_pub_all")
rownames(ProfData) <- NULL
geneListOrder <- UnifyRowNames(list(
list1=list(df1=ProfData,df2=ProfData),
 list2=list(df3=ProfData,df4=ProfData)),
  geneList)
  
## End(Not run)


Search within the bioCancer package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.