Permalink
Cannot retrieve contributors at this time
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?
mmRmeta/man/add.expression.Rd
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
24 lines (22 sloc)
843 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% 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) | |
} |