View source: R/expression_funks.R
expressionProfilesDists | R Documentation |
base::dist
) between the expression profiles of
the genes in argument gene.accessions
.Computes the distance (base::dist
) between the expression profiles of
the genes in argument gene.accessions
.
expressionProfilesDists(gene.accessions,
expression.profiles = rna.seq.exp.profils,
expr.prof.gene.col = "gene",
expr.prof.gene.variant.col = "gene.exp.var",
tissues = setdiff(colnames(expression.profiles), c(expr.prof.gene.col,
expr.prof.gene.variant.col)), dist.method = "euclidean",
per.tissue = FALSE)
gene.accessions |
A character vector of gene identifiers some of which
are expected to be present in |
expression.profiles |
A data.frame with gene expression profiles.
Default is this package's |
expr.prof.gene.col |
A number or string identifying the column of
|
expr.prof.gene.variant.col |
A number or string identifying the column
of |
tissues |
A character or integer indexing those columns of
|
dist.method |
A string to pass as argument |
per.tissue |
Logical indicating wether to compute distances in the
euclidean space created by the dimensions of all tissues, or if set to
|
An instance of base::dist holding pairwise distances between the
argument genes expression profiles. If not at least two expression profiles
are found for the argument gene.accessions
NA
is returned. In
case the argument per.tissue
is set to TRUE
a list of
one-dimensional distances is returned; names of the list are the respective
tissues.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.