pivot_transcript-methods: Extract transcript-wise information

Description Usage Arguments Details Value Examples

Description

pivot_transcript() takes as input a 'tbl' formatted as | <SAMPLE> | <ENSEMBL_ID> | <COUNT> | <...> | and returns a 'tbl' with only sample-related columns

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

Arguments

.data

A 'tbl' formatted as | <SAMPLE> | <TRANSCRIPT> | <COUNT> | <...> |

.transcript

The name of the transcript column

Details

\lifecycle

maturing

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.

Value

A 'tbl' object

A 'tbl' object

A 'tbl' object

A 'tbl' object

Examples

1
2
3
4
	pivot_transcript(
		tidybulk::counts_mini,
		.transcript = transcript
	)

tidybulk documentation built on April 7, 2021, 6 p.m.