Skip to content

Commit

Permalink
Update import.qmd
Browse files Browse the repository at this point in the history
Suggested minor edits to the text, no code chunks changed
  • Loading branch information
nuorenarra authored Oct 5, 2024
1 parent b59c245 commit d49125e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions inst/pages/import.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ tree_file_path <- system.file(
```

Now we can read in the biom file and convert it into a `TreeSE` object. In
addition, we retrieve the rank names from the prefixes of the feature names
addition, we retrieve the rank names from the prefixes of the taxa names
and then remove them with the `rank.from.prefix` and `prefix.rm` optional
arguments.

Expand Down Expand Up @@ -108,7 +108,8 @@ sample_meta <- read.csv(
sample_meta_file_path, sep = ",", row.names = 1)
# Add this sample data to colData of the taxonomic data object
# Note that the data must be given in a DataFrame format
# Note that the samples in the sample data must be in the same order as
in the original biom file and that data must be given in a DataFrame format
colData(tse) <- DataFrame(sample_meta)
```

Expand Down

0 comments on commit d49125e

Please sign in to comment.