| Title: | Convert Rice Microarray Probe IDs to RAP-DB Gene IDs |
|---|---|
| Description: | Converts probe identifiers from the rice microarray platforms GPL6864, GPL8852, and GPL2025 to targets from the Rice Annotation Project Database (RAP-DB). Conversion preserves input order, reports unmapped and non-RAP annotations, handles one-to-many mappings explicitly, and can combine multiple probes per target using the mean, maximum, or minimum. |
| Authors: | Youming Liu [aut, cre, cph] |
| Maintainer: | Youming Liu <[email protected]> |
| License: | GPL-3 |
| Version: | 0.2.0 |
| Built: | 2026-09-21 13:31:11 UTC |
| Source: | https://github.com/lym-bioinfo/oryzaprobe |
Returns an inspectable copy of the annotation used by OryzaProbe.
probe_annotation(platform)probe_annotation(platform)
platform |
One supported GEO platform accession. |
A data frame with probe_id, target_id, and status.
GPL8852 returns an empty table because its target is parsed from the composite
row name rather than looked up in a bundled table.
The bundled GPL6864 and GPL2025 tables are preserved from OryzaProbe 0.1.0. This function makes that legacy provenance explicit so analyses can record the exact annotation snapshot they used.
probe_annotation_metadata()probe_annotation_metadata()
A data frame describing the mapping source and method for each supported platform.
Returns the row-level audit report attached to a converted expression matrix.
probe_conversion_report(x)probe_conversion_report(x)
x |
A matrix returned by |
A data frame with the source probe, original annotation, resolved target, status, inclusion flag, and output row ID.
Returns summary metadata attached to a converted expression matrix.
probe_conversion_summary(x)probe_conversion_summary(x)
x |
A matrix returned by |
A named list containing platform, input and output row counts, mapping-status counts, dropped rows, and aggregation method.
Converts probe IDs stored in expression-matrix row names to targets from the annotation bundled with OryzaProbe. Conversion preserves input order, records an auditable row-level report, and can merge probes that resolve to one target.
probe_convert( x, platform = "auto", merge_by = "none", unmapped = "keep", non_rap = "keep", multi_mapping = "keep", na_rm = FALSE, quiet = FALSE )probe_convert( x, platform = "auto", merge_by = "none", unmapped = "keep", non_rap = "keep", multi_mapping = "keep", na_rm = FALSE, quiet = FALSE )
x |
A numeric matrix or data frame. Row names must contain probe IDs. |
platform |
One of |
merge_by |
One of |
unmapped |
How probes without a target should be handled: keep the original probe ID, drop the row, or raise an error. |
non_rap |
How annotations that are not canonical RAP-DB gene IDs should be handled: keep, drop, or raise an error. |
multi_mapping |
How targets containing multiple IDs separated by
|
na_rm |
Whether missing values should be removed during aggregation. If
every value in a group is missing, the result remains |
quiet |
If |
A numeric matrix with class oryza_probe_matrix and unique row names. Use
probe_conversion_report() to inspect how each input row was handled.
expression <- matrix( c(2, 4, 6, 8), nrow = 2, dimnames = list(c("36144", "37310"), c("sample_1", "sample_2")) ) converted <- probe_convert( expression, platform = "GPL6864", merge_by = "mean" ) converted probe_conversion_report(converted)expression <- matrix( c(2, 4, 6, 8), nrow = 2, dimnames = list(c("36144", "37310"), c("sample_1", "sample_2")) ) converted <- probe_convert( expression, platform = "GPL6864", merge_by = "mean" ) converted probe_conversion_report(converted)
Preserves the original OryzaProbe function name and its first three arguments.
New code should prefer probe_convert(), whose options make annotation
edge cases explicit.
probeConvert( exprMatrix, probeMerge = FALSE, mergeBy = "mean", platform = "auto", unmapped = "keep", na.rm = FALSE, quiet = FALSE, ... )probeConvert( exprMatrix, probeMerge = FALSE, mergeBy = "mean", platform = "auto", unmapped = "keep", na.rm = FALSE, quiet = FALSE, ... )
exprMatrix |
A numeric matrix or data frame with probe IDs as row names. |
probeMerge |
Whether probes resolving to the same target should be merged. |
mergeBy |
Aggregation method used when |
platform |
Platform name or |
unmapped |
How unmapped probes should be handled. |
na.rm |
Whether missing values should be removed during aggregation. |
quiet |
Whether the conversion summary should be suppressed. |
... |
Additional arguments passed to |
A numeric matrix; see probe_convert().
expression <- matrix( 1:4, nrow = 2, dimnames = list(c("13", "12"), c("sample_1", "sample_2")) ) probeConvert(expression, platform = "GPL6864")expression <- matrix( 1:4, nrow = 2, dimnames = list(c("13", "12"), c("sample_1", "sample_2")) ) probeConvert(expression, platform = "GPL6864")
Lists the platforms accepted by OryzaProbe's conversion functions.
supported_platforms()supported_platforms()
A character vector of supported GEO platform accessions.