|
a |
|
b/man/homogenizeData.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/pRRophetic.R |
|
|
3 |
\name{homogenizeData} |
|
|
4 |
\alias{homogenizeData} |
|
|
5 |
\title{Take two expression matrices and return homogenized versions of the matrices.} |
|
|
6 |
\usage{ |
|
|
7 |
homogenizeData( |
|
|
8 |
testExprMat, |
|
|
9 |
trainExprMat, |
|
|
10 |
batchCorrect = "eb", |
|
|
11 |
selection = -1, |
|
|
12 |
printOutput = TRUE |
|
|
13 |
) |
|
|
14 |
} |
|
|
15 |
\arguments{ |
|
|
16 |
\item{testExprMat}{Gene expression matrix for samples on which we wish to predict a phenotype. Gene names as rows, samples names as columns.} |
|
|
17 |
|
|
|
18 |
\item{trainExprMat}{Gene expression matrix for samples for which we the phenotype is already known.} |
|
|
19 |
|
|
|
20 |
\item{batchCorrect}{The type of batch correction to be used. Options are "eb" for Combat, "none", or "qn" for quantile normalization.} |
|
|
21 |
|
|
|
22 |
\item{selection}{parameter can be used to specify how duplicates are handled, by default value -1 means ask the user. 1 means summarize duplictes by their mean and 2 means to disguard all duplicate genes.} |
|
|
23 |
|
|
|
24 |
\item{printOutput}{Set to FALSE to supress output} |
|
|
25 |
} |
|
|
26 |
\value{ |
|
|
27 |
a list containing two entries $train and $test, which are the homogenized input matrices. |
|
|
28 |
} |
|
|
29 |
\description{ |
|
|
30 |
This function accepts two expression matrices, with gene ids as rownames() and |
|
|
31 |
sample ids as colnames(). It will deal with duplicate gene ids. |
|
|
32 |
subset and order the matrices correctly. |
|
|
33 |
and perform homogenize the data using whatever method is specified (by default Combat from the sva library). |
|
|
34 |
} |
|
|
35 |
\author{ |
|
|
36 |
Paul Geeleher, Nancy Cox, R. Stephanie Huang |
|
|
37 |
} |
|
|
38 |
\keyword{internal} |