rna.read_data | R Documentation |
Reads transcriptomics data from one/several file(s) or dataframe and creates a SummarizedExperiment
object.
rna.read_data(
data = NULL,
files.ind = NULL,
expdesign = NULL,
csvsep = ";",
dec = ".",
sheet = 1,
name = "SymbolID",
id = "gene_id",
values = "FPKM",
id2name.table = NULL,
id2name.id = NULL,
id2name.name = NULL,
pfx.counts = "counts.",
rsd_thresh = NULL,
filt_type = c("condition", "complete", "fraction", NULL),
filt_thr = 3,
filt_min = NULL
)
data |
File or dataframe containing transcriptomics data, if |
files.ind |
Prefixes of several files in the working directory containing transcriptomics data, if |
expdesign |
Experimental design as file path or data frame, if made previously. |
csvsep |
Delimiter if reading CSV file(s). |
dec |
Decimal separator if reading CSV, TSV, or TXT files. |
sheet |
Sheet of an Excel file to be read. |
name |
Header of column containing primary gene IDs (e.g., gene names). |
id |
Header of column containing alternative gene IDs (e.g., locus IDs). |
values |
Name of the column containing the values (if |
id2name.table |
File containing a table with ID to name mappings. |
id2name.id |
Header of column containing alternative gene IDs in |
id2name.name |
Header of column containing primary gene IDs in |
pfx.counts |
Prefix in headers of columns containing gene abundances (if |
rsd_thresh |
Provide a relative standard deviation (RSD) threshold in % for genes. The RSD is calculated for each condition and if the maximum RSD value determined for a given protein exceeds |
filt_type |
(Character string) "complete", "condition" or "fraction", Sets the type of filtering applied. "complete" will only keep genes with valid values in all samples. "condition" will keep genes that have a maximum of |
filt_thr |
(Integer) Sets the threshold for the allowed number of missing values in at least one condition if |
filt_min |
(Numeric) Sets the threshold for the minimum fraction of valid values allowed for any genes if |
Returns a SummarizedExperiment
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.