pivot_transcript {tidybulk} | R Documentation |
pivot_transcript() takes as imput a 'tbl' formatted as | <SAMPLE> | <ENSEMBL_ID> | <COUNT> | <...> | and returns a 'tbl' with only sample-related columns
pivot_transcript(.data, .transcript = NULL) ## S4 method for signature 'spec_tbl_df' pivot_transcript(.data, .transcript = NULL) ## S4 method for signature 'tbl_df' pivot_transcript(.data, .transcript = NULL) ## S4 method for signature 'tidybulk' pivot_transcript(.data, .transcript = NULL)
.data |
A 'tbl' formatted as | <SAMPLE> | <TRANSCRIPT> | <COUNT> | <...> | |
.transcript |
The name of the transcript column |
This functon extracts only transcript-related information for downstream analysis (e.g., visualisation). It is disruptive in the sense that it cannot be passed anymore to tidybulk function.
A 'tbl' object
A 'tbl' object
A 'tbl' object
A 'tbl' object
pivot_transcript( tidybulk::counts_mini, .transcript = transcript )