We are hiring ! See our job offers.
https://github.com/ctlab/phantasus
Raw File
Tip revision: d5d3a2a453d193538955965af54d20d0c8b9f72c authored by Alexey Sergushichev on 02 February 2019, 13:32:57 UTC
version bump + fixes for biocheck warnings
Tip revision: d5d3a2a
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)
}
\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}
}
\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