Skip to content
Permalink
c5d03d2a60
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
24 lines (22 sloc) 843 Bytes
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add.expression.R
\name{add.expression}
\alias{add.expression}
\title{Add Gene Expression}
\usage{
add.expression(cancer_data, nested_metadata, key = "case_id")
}
\arguments{
\item{cancer_data}{A large list created by multimodalR}
\item{nested_metadata}{A list of data frames made by >make.nested.metadata<}
\item{key}{Character or integer - Column name or index of unique identifier of nested_metadata, default = "case_id"}
}
\value{
Returns the same list but with data franes containing the expression values in a new colummn.
}
\description{
This function adds the gene expression values to each "case_id" of a gene in the data frame. It uses the expressionmatrix from organ_data.
}
\examples{
lungMetaExpression <- add.expression(lungXY, lungMetaExpression)
}