pivot_sample-methods: Extract sample-wise information

Description Usage Arguments Details Value Examples

Description

pivot_sample() 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_sample(.data, .sample = NULL)

## S4 method for signature 'spec_tbl_df'
pivot_sample(.data, .sample = NULL)

## S4 method for signature 'tbl_df'
pivot_sample(.data, .sample = NULL)

## S4 method for signature 'tidybulk'
pivot_sample(.data, .sample = NULL)

Arguments

.data

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

.sample

The name of the sample column

Details

\lifecycle

maturing

This functon extracts only sample-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

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