winsorize(data, pos.unit = "bp", arms = NULL, method = "mad", tau = 2.5,
k = 25, gamma = 40, iter = 1, assembly = "hg19", digits = 4,
return.outliers = FALSE, save.res = FALSE, file.names = NULL,
verbose = TRUE)
data
. If not specified chromosome arms are found using the built-in genome assembly version determined by assembly
.method="pcf"
.save.res=TRUE
.return.outliers = TRUE
a list with the following components:return.outliers = FALSE
only the data frame containing the winsorized data is returned.
If save.res=TRUE
the results are saved in text files with names as specified in file.names
. If file.names=NULL
, a folder named "Wins_res" is created in the working directory and Winsorized data and outlier statuses are saved in this directory in tab-separated files named wins.data.txt and wins.outliers.txt, respectively.#Lymphoma data
data(lymphoma)
#Take out a smaller subset of 3 samples (using subsetData):
sub.lymphoma <- subsetData(lymphoma,sample=1:3)
#Do MAD Winsorization:
wins.data <- winsorize(data=sub.lymphoma)
Run the code above in your browser using DataLab