Translate_simple_ATAC2RNA: Translate_simple_ATAC2RNA

View source: R/General_functions.R

Translate_simple_ATAC2RNAR Documentation

Translate_simple_ATAC2RNA

Description

This function allows you to input the ATAC name to translate to RNA name

Usage

Translate_simple_ATAC2RNA(
  name,
  PostFix = T,
  bclength = 16,
  from = c(1, 2, 3),
  to = c(1, 2, 3)
)

Arguments

name

RNA name, as the RNA cell barcode usually with the post -1

bclength

The cell barcode length, default is 16

from

A vector of the postfix, usually is c(1,2,3,...), it depends on how many samples are aggregated in Cellranger RNA part

to

A vector of the postfix, those cooresponds to the postfix added in redeemR, in general, if it matches, then simply c(1,2,3,...), but in case not match, here provides a way to transform into redeemR order

Value

RNA name Translate_RNA2ATAC(⁠a vector of RNA names⁠)


chenweng1991/scMitoTracing documentation built on July 2, 2024, 8:41 p.m.