View source: R/process_import_SE.R
import_SE | R Documentation |
Convert inputs into SummarizedExperiment object.
import_SE(
object,
rowdata = NULL,
rowranges = GRangesList(),
coldata = NULL,
metadata = list())
object |
(Required). matrix-like, features table with expressed values (row: featureID; columns: samples). |
rowdata |
(Optional). DataFrame, A DataFrame object describing the rows (default: NULL). |
rowranges |
(Optional). A GRanges or GRangesList object describing the ranges of interest. (default: NULL). |
coldata |
(Optional). DataFrame, An optional DataFrame describing the samples (default: NULL). |
metadata |
(Optional). List, An optional list of arbitrary content describing the overall experiment (default: NULL). |
The profile of inputs is a feature table of RNA-seq or metabolites or others: A matrix with rows corresponding to features and columns to samples, in which the value of each entry is the number of times that features was observed in that sample.
SummarizedExperiment::SummarizedExperiment
object hold expressed profile,
information related row and column or experimental design.
Created by Hua Zou (1/8/2023 Shenzhen China)
## Not run:
data("Zeybel_2022_protein")
assay <- SummarizedExperiment::assay(Zeybel_2022_protein) %>%
data.frame()
rowData <- SummarizedExperiment::rowData(Zeybel_2022_protein) %>%
data.frame()
colData <- SummarizedExperiment::colData(Zeybel_2022_protein) %>%
data.frame()
metadata <- list(lab="hua", type="protein")
assay <- assay[1:10, 1:10]
import_SE(
object = assay,
rowdata = rowData,
coldata = colData,
metadata = metadata)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.