We are hiring ! See our job offers.
https://github.com/ctlab/phantasus
Raw File
Tip revision: 80c7b427b73eabcf1cbf64adf47708e2640d3ffb authored by Nitesh Turaga on 29 October 2019, 17:11:02 UTC
bump x.y.z version to even y prior to creation of RELEASE_3_10 branch
Tip revision: 80c7b42
collapseDataset.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/collapseDataset.R
\name{collapseDataset}
\alias{collapseDataset}
\title{Collapse dataset}
\usage{
collapseDataset(es, isRows = TRUE, selectOne = FALSE, fn, fields,
  removeEmpty = TRUE)
}
\arguments{
\item{es}{Expression set}

\item{isRows}{Work with rows. False if columns (default True - row mode)}

\item{selectOne}{select best match or merge duplicates}

\item{fn}{select/merge function}

\item{fields}{fields to unique on}

\item{removeEmpty}{remove unannotated genes}
}
\value{
Nothing. Collapsed dataset will be assigned to es in environment
}
\description{
\code{collapseDataset} performs a collapse action on expression set
}
\examples{
\dontrun{
es <- getGSE('GSE53986')[[1]]
collapseDataset(es, isRows = TRUE, selectOne = TRUE,
fn = mean, fields = c('Gene ID', 'Gene symbol'))
}

}
back to top