Learn R Programming

pxweb (version 0.19.2)

pxweb_data_v2_obs_comment: Construct a v2 observation comment.

Description

Converts a JSON-stat2 observation-level annotation, currently cell status, to a v1-style obs_comment object.

Usage

pxweb_data_v2_obs_comment(x, obs_idx, comment)

Value

a pxweb_data_comment object.

Arguments

x

a pxweb_data_v2 object.

obs_idx

one-based observation row index.

comment

a normalized comment string.