read_csv: read_csv

View source: R/read_csv.R

read_csvR Documentation

read_csv

Description

Read .csv file.

Usage

read_csv(
  filename,
  delimiter = ",",
  first_column_names = NULL,
  dtype = "float32"
)

Arguments

filename

Data file.

delimiter

Delimiter that separates data within text file. If NULL, will split at arbitrary number of white spaces, which is different from enforcing splitting at single white space ' '.

first_column_names

Assume the first column stores row names.

dtype

Numpy data type.

Details

Same as read_text() but with default delimiter ','.

Examples

## Not run: 
ad <- read_csv("matrix.csv")

## End(Not run)

anndata documentation built on March 31, 2023, 10:02 p.m.