as.seqData | R Documentation |
Converts several data frames of RNA-seq transcript data to
an object of the class 'seqData'. Objects of the class 'seqData' are lists
with two obligatory components, e_data
and f_data
. An optional
list component, e_meta
, is used if analysis or visualization at other
levels (e.g. gene, protein, pathway) is also desired.
as.seqData(
e_data,
f_data,
e_meta = NULL,
edata_cname,
fdata_cname,
emeta_cname = NULL,
techrep_cname = NULL,
...
)
e_data |
a |
f_data |
a data frame with |
e_meta |
an optional data frame with at least |
edata_cname |
character string specifying the name of the column
containing the transcript identifiers in |
fdata_cname |
character string specifying the name of the column
containing the sample identifiers in |
emeta_cname |
character string specifying the name of the column
containing the gene identifiers (or other mapping variable) in
|
techrep_cname |
character string specifying the name of the column in
|
... |
further arguments |
Objects of class 'seqData' contain some attributes that are referenced by downstream functions. These attributes can be changed from their default value by manual specification. A list of these attributes as well as their default values are as follows:
data_scale |
Scale of the data provided in e_data . Only 'counts' is valid for
'seqData'. |
is_normalized | A logical argument, specifying whether the data has been normalized or not. Default value is FALSE. |
norm_info | Default value is an empty list, which will be
populated with a single named element is_normalized = is_normalized .
|
data_types | Character string describing the type of data, most commonly used for lipidomic data (lipidData objects) or NMR data (nmrData objects) but available for other data classes as well. Default value is NULL. |
Computed
values included in the data_info
attribute are as follows:
num_edata | The number of unique edata_cname
entries. |
num_zero_obs | The number of zero-value observations. |
num_emeta | The number of unique
emeta_cname entries. |
prop_missing | The proportion
of e_data values that are NA. |
num_samps | The number
of samples that make up the columns of e_data . |
meta_info | A logical argument, specifying whether e_meta is provided. |
Object of class seqData
Rachel Richardson, Kelly Stratton, Lisa Bramer
as.proData
as.pepData
as.lipidData
as.metabData
as.nmrData
library(pmartRdata)
myseq <- as.seqData(
e_data = rnaseq_edata,
e_meta = rnaseq_emeta,
f_data = rnaseq_fdata,
edata_cname = "Transcript",
fdata_cname = "SampleName",
emeta_cname = "Transcript"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.